nix: Add nix-community binary cache
The nix-community cache builds unfree packages that `cache.nixos.org` skips, such as the MongoDB used by UniFi, which otherwise takes hours to build in CI. Add it to the flake's `nixConfig` (used by CI) and to `lib.my.c.nix.cache` for boxes, homes and the devshell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
139afc004e
commit
3bc6885a14
3 files changed
+7
No files matched your search
@@ -105,10 +105,12 @@ rec {
|
||||
substituters = [
|
||||
"https://nix-cache.${pubDomain}"
|
||||
"https://cache.numtide.com"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
keys = [
|
||||
"nix-cache.nul.ie-1:BzH5yMfF4HbzY1C977XzOxoPhEc9Zbu39ftPkUbH+m4="
|
||||
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
conf = ''
|
||||
extra-substituters = ${concatStringsSep " " substituters}
|
||||
|
||||
Reference in new issue
Block a user