From b805265c7dd5e52de690c294f8b7008431be9785 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 29 Jul 2018 16:46:55 +0200 Subject: [PATCH] feat(pkgs): Enable hie-nix Cachix cache --- packages.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages.nix b/packages.nix index a2193fbfd..3129b9fca 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: