From 3449e2ef99f60d468a571a0086f11dcdc32b390e Mon Sep 17 00:00:00 2001 From: phorcys420 <57866459+phorcys420@users.noreply.github.com> Date: Mon, 24 Aug 2026 21:54:33 +0000 Subject: [PATCH] feat(configuration.nix): add nix-community cachix substituter --- configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 3b4fe14..f7d27ae 100644 --- a/configuration.nix +++ b/configuration.nix @@ -392,6 +392,14 @@ in "flakes" ]; nix.settings.download-buffer-size = 268435456; # 256 MiB; quiets the "buffer full" warning on big closure pulls + + # Extra binary cache: pull community-built closures (disko and other + # nix-community derivations) instead of building them locally. `extra-` + # appends to the defaults, so cache.nixos.org stays in place. + nix.settings.extra-substituters = [ "https://nix-community.cachix.org" ]; + nix.settings.extra-trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; networking.firewall.enable = false; # ── PostgreSQL ────────────────────────────────────────────────────────────