From 43ad14cad172eebfa38f6de7604187d583b8da86 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 21 Oct 2020 15:11:08 +1000 Subject: [PATCH] Additional caches --- roles/iohk.nix | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/roles/iohk.nix b/roles/iohk.nix index 0114687..e1f0d67 100644 --- a/roles/iohk.nix +++ b/roles/iohk.nix @@ -5,24 +5,25 @@ { nix = { + package = pkgs.nixFlakes; + binaryCaches = [ + "https://cache.nixos.org" + "https://hydra.iohk.io" + "https://iohk.cachix.org" + "https://mantis-ops.cachix.org" + ]; + binaryCachePublicKeys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" + "iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=" + "mantis-ops.cachix.org-1:SornDcX8/9rFrpTjU+mAAb26sF8mUpnxgXNjmKGcglQ=" + ]; extraOptions = '' #repeat = 1 # Ensure reproducibility of builds + experimental-features = nix-command flakes ca-references ''; }; - nix.binaryCaches = [ - "https://cache.nixos.org" - "https://hydra.iohk.io" - "https://iohk.cachix.org" - "https://mantis-ops.cachix.org" - ]; - nix.binaryCachePublicKeys = [ - "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" - "iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=" - "mantis-ops.cachix.org-1:SornDcX8/9rFrpTjU+mAAb26sF8mUpnxgXNjmKGcglQ=" - ]; - # Set the system-wide environment environment = { systemPackages = with pkgs; [