From d838bd39bc464fe4d9ec3260921e11d03f8328a7 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 30 Apr 2023 22:02:09 -0400 Subject: globally enable more substituters --- hosts/default.nix | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'hosts/default.nix') diff --git a/hosts/default.nix b/hosts/default.nix index d579dc3..0d63d6b 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -27,7 +27,25 @@ with inputs; let config.allowUnfree = true; }; - nix.registry.getchoo.flake = getchoo; + nix = { + registry.getchoo.flake = getchoo; + settings = { + trusted-substituters = [ + "https://getchoo.cachix.org" + "https://nix-community.cachix.org" + "https://hercules-ci.cachix.org" + "https://wurzelpfropf.cachix.org" + ]; + + trusted-public-keys = [ + "getchoo.cachix.org-1:ftdbAUJVNaFonM0obRGgR5+nUmdLMM+AOvDOSx0z5tE=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0=" + "wurzelpfropf.cachix.org-1:ilZwK5a6wJqVr7Fyrzp4blIEkGK+LJT0QrpWr1qBNq0=" + ]; + }; + }; + nixos.enable = true; system.stateVersion = "23.05"; } -- cgit v1.2.3