limit builds

This commit is contained in:
ari committed 2026-10-21 09:34:30 -04:00
1 parent 4a72048f0d
commit 5d2ff990ae
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -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
+2
View File
@@ -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