Skip to content

feat(configuration.nix): add nix-community cachix substituter - #74

Merged
phorcys420 merged 1 commit into
mainfrom
phorcys/box-cachix-cache
Aug 24, 2026
Merged

feat(configuration.nix): add nix-community cachix substituter#74
phorcys420 merged 1 commit into
mainfrom
phorcys/box-cachix-cache

Conversation

@phorcys420

Copy link
Copy Markdown
Member

What

Add nix-community.cachix.org as an extra binary cache in the shared nix.settings.

nix.settings.extra-substituters = [ "https://nix-community.cachix.org" ];
nix.settings.extra-trusted-public-keys = [
  "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];

Why

Pull community-built closures (disko and other nix-community derivations) from a
binary cache instead of building them locally. extra- appends to the defaults,
so cache.nixos.org stays in place. Applies to every host via configuration.nix.

Note

nixpkgs is pinned to the released nixos-25.11 channel, so podman is already
served by cache.nixos.org and should not build from source. This cache mainly
helps with disko and other community derivations. If podman is genuinely
rebuilding, the cause is likely elsewhere (an overlay touching its deps, an
arch/unfree gap, or a stale substituter) and worth a separate look.


Drafted by Coder Agents on behalf of @phorcys420.

@phorcys420
phorcys420 marked this pull request as ready for review August 24, 2026 21:58
@phorcys420
phorcys420 merged commit 295a017 into main Aug 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant