about summary refs log tree commit diff
path: root/modules/system/nix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/nix/default.nix')
-rw-r--r--modules/system/nix/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/nix/default.nix b/modules/system/nix/default.nix
index 2ad20c3..ad6bb8d 100644
--- a/modules/system/nix/default.nix
+++ b/modules/system/nix/default.nix
@@ -8,6 +8,16 @@
     autoOptimiseStore = true;
     trustedUsers = [ "root" "@wheel" ];
 
+    binaryCaches = [
+      "https://cachix.cachix.org"
+      "https://nix-community.cachix.org"
+    ];
+
+    binaryCachePublicKeys = [
+      "cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
+      "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+    ];
+
     gc = {
       automatic = true;
       options = "--delete-older-than 14d";