From 23cb4c79a9a0157cd04673294d2d18e49c3e5a5e Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Fri, 12 Aug 2016 01:35:04 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9sactivation=20du=20cache=20standard=20po?= =?UTF-8?q?ur=20les=20machines=20dubronetwork?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/activation-manuelle/nix-serve-client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ''