From 3f5371bb995a945ab359b025a610b329e4a7ef55 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 7 Nov 2024 21:37:08 +0100 Subject: [PATCH] nixos/nix: Specify extra substituters --- nixos/module/nix.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/module/nix.nix b/nixos/module/nix.nix index 0f69cd2..d907b93 100644 --- a/nixos/module/nix.nix +++ b/nixos/module/nix.nix @@ -41,6 +41,18 @@ in { preallocate-contents = true; use-cgroups = true; use-xdg-base-directories = true; + + substituters = [ + "https://cache.kyouma.net" + "https://colmena.cachix.org" + "https://nix-community.cachix.org" + ]; + + trusted-public-keys = [ + "cache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=" + "colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; }; registry = {