From a7b5ddde9671cab961a337cce519261d0910799b Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Mon, 24 Jan 2022 19:09:51 +0100 Subject: [PATCH] Enable binary cache for haskell.nix --- hosts/thrall/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/thrall/default.nix b/hosts/thrall/default.nix index 8e6d8e1..f94da5f 100644 --- a/hosts/thrall/default.nix +++ b/hosts/thrall/default.nix @@ -14,6 +14,12 @@ experimental-features = nix-command flakes ca-derivations ''; #nix.registry.nixpkgs.flake = nixpkgs; + + # Binary Cache for Haskell.nix + nix.binaryCachePublicKeys = + [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; + nix.binaryCaches = [ "https://hydra.iohk.io" ]; + # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; boot.loader.grub.version = 2;