From 390b7d07db5dc78b5aaf3f7806425348eaf0c48a Mon Sep 17 00:00:00 2001 From: Zoty Date: Wed, 24 Jun 2026 11:25:02 -0300 Subject: [PATCH] add binary caches --- modules/core.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/core.nix b/modules/core.nix index 3c60281..2b5fd99 100644 --- a/modules/core.nix +++ b/modules/core.nix @@ -8,7 +8,19 @@ nix = { settings = { experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; + auto-optimise-store = true; + substituters = [ + "https://cache.nixos.org" + "https://niri.cachix.org" + "https://nix-community.cachix.org" + "https://claude-code.cachix.org" + ]; + trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk=" + ]; }; gc = { automatic = true;