nix: Add nix-community binary cache
CI / Check, build and cache nixfiles (push) Successful in 1h52m34s
Update docs / update (push) Successful in 33s

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:
jackos1998andClaude Opus 5.5 committed 2026-11-24 15:51:28 +00:00
1 parent 139afc004e
commit 3bc6885a14
3 files changed
+7

No files matched your search

+2
View File
@@ -9,10 +9,12 @@
extra-substituters = [
"https://nix-cache.nul.ie"
"https://cache.numtide.com"
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [
"nix-cache.nul.ie-1:BzH5yMfF4HbzY1C977XzOxoPhEc9Zbu39ftPkUbH+m4="
"niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};