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; [