about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-07-29T14·46+0200
committerVincent Ambo <tazjin@gmail.com>2018-07-29T14·46+0200
commitb805265c7dd5e52de690c294f8b7008431be9785 (patch)
tree4baa72dcf8d0697c7fa9d9c57517f5225dc85781
parentaa048203b7b6bc3e75053a48f89f433887d7823d (diff)
feat(pkgs): Enable hie-nix Cachix cache
-rw-r--r--packages.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages.nix b/packages.nix
index a2193fbfd184..3129b9fcaedf 100644
--- a/packages.nix
+++ b/packages.nix
@@ -53,6 +53,20 @@ in {
     };
   };
 
+  # Configure additional binary caches (via Cachix)
+  nix = {
+    binaryCaches = [
+      # hie-nix contains the Haskell IDE Engine packaged for NixOS
+      "https://hie-nix.cachix.org"
+    ];
+
+    binaryCachePublicKeys = [
+      "hie-nix.cachix.org-1:EjBSHzF6VmDnzqlldGXbi0RM3HdjfTU3yDRi9Pd0jTY="
+    ];
+
+    trustedUsers = [ "root" "vincent" ];
+  };
+
   # ... and declare packages to be installed.
   environment.systemPackages = with pkgs; [
     # Default nixos.* packages: