diff --git a/base/activation-manuelle/nix-serve-client.nix b/base/activation-manuelle/nix-serve-client.nix index d8fcb74..0c2d6ea 100644 --- a/base/activation-manuelle/nix-serve-client.nix +++ b/base/activation-manuelle/nix-serve-client.nix @@ -12,9 +12,9 @@ mkIf cfg.nix-serve-client { # Cache http pour le store requireSignedBinaryCaches = false; binaryCaches = [ - "https://cache.nixos.org/" + (mkIf (profiles.isDubronetwork && (! computers.isPedro) && (! computers.isRollo)) "http://nix-cache.dubronetwork.fr:5001") - (mkIf (profiles.isDubronetwork && (! computers.isRollo)) "http://nix-cache.dubronetwork.fr:5001") + (mkIf profiles.isPrunetwork "https://cache.nixos.org/") (mkIf (profiles.isPrunetwork && !profiles.isServer) "http://192.168.1.20:5000") ]; extraOptions = ''