summary refs log tree commit diff
path: root/profiles/gentoo.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/gentoo.nix')
-rw-r--r--profiles/gentoo.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/gentoo.nix b/profiles/gentoo.nix
index 6747ba6..9755fd8 100644
--- a/profiles/gentoo.nix
+++ b/profiles/gentoo.nix
@@ -3,6 +3,15 @@
 {
   imports = [];
   config = {
+    nix.binaryCaches = [
+      "https://cache.nixos.org/"
+      "https://cache.allvm.org/"
+    ];
+
+    nix.binaryCachePublicKeys = [
+      "gravity.cs.illinois.edu-1:yymmNS/WMf0iTj2NnD0nrVV8cBOXM9ivAkEdO1Lro3U="
+    ];
+    
     nativeStdenv = prev.stdenvAdapters.withCFlags [ "-O3" "-pipe" "-march=native" ]
     (prev.overrideCC prev.llvmPackages_latest.stdenv
       (prev.wrapCCWith rec {