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

+3
View File
@@ -92,6 +92,9 @@ The shared cache settings in `lib.my.c.nix.cache` and the flake's `nixConfig` in
the [Numtide binary cache](https://github.com/numtide/llm-agents.nix#binary-cache), so
both agents can be downloaded prebuilt. Keep the input's tested nixpkgs pin to preserve cache hits.
They also include the [nix-community cache](https://nix-community.org/cache/), which builds
unfree packages that `cache.nixos.org` doesn't, such as the MongoDB used by UniFi.
`programs.codex.mutableSettings` merges the declared status-line settings into the writable
`~/.codex/config.toml` during activation. Declared values take precedence on each switch;
other settings, including model selection, providers and project trust, remain imperative.