diff --git a/modules/core/ABOUTME.md b/modules/core/ABOUTME.md index c502a8b..cd519a6 100644 --- a/modules/core/ABOUTME.md +++ b/modules/core/ABOUTME.md @@ -28,7 +28,8 @@ core/ - **Substituters** (`nix-substituters.nix`): the standing list of caches (local `minipc1` and `bigbox2` caches, cache.nixos.org, cachix caches for cuda/cosmic/ai/noctalia/nixarchy, flox, devenv) and the trusted public keys. Extra entries can be appended per-host via - `skyg.core.substituters.{urls,keys}`. + `skyg.core.substituters.{urls,keys}`. Also sets `http-connections = 8` and + `download-attempts = 10` so flaky links (Wi-Fi) don't disable cache.nixos.org mid-build. - **Lab CA trust** (`lab-ca.nix`): adds `configs/pki/lab-ca.crt` to `security.pki.certificateFiles` so every machine trusts the lab internal CA (created by `skyg ca init`, see `configs/pki/ABOUTME.md`). Eval fails if the diff --git a/modules/core/nix-substituters.nix b/modules/core/nix-substituters.nix index 411e0f9..c367058 100644 --- a/modules/core/nix-substituters.nix +++ b/modules/core/nix-substituters.nix @@ -53,6 +53,8 @@ in "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ] ++ cfg.keys; nix.settings.trusted-users = [ "root" skygUser.name ]; + nix.settings.http-connections = 8; + nix.settings.download-attempts = 10; nix.extraOptions = '' # Ensure we can still build when missing-server is not accessible fallback = true