From 2c715f9e14b0c27f736b2b5f9d560466569f19a1 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Mon, 11 Jul 2016 12:29:53 +0200 Subject: [PATCH] monstre n'utilise plus phenom comme cache --- activation-manuelle/nix-serve-client.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activation-manuelle/nix-serve-client.nix b/activation-manuelle/nix-serve-client.nix index eb477ea..438dedc 100644 --- a/activation-manuelle/nix-serve-client.nix +++ b/activation-manuelle/nix-serve-client.nix @@ -2,12 +2,13 @@ let inherit (lib) mkIf mkMerge; profiles = config.r6d.profiles; + computers = config.r6d.computers; in { nix = mkIf config.r6d.config-generator.nix-serve-client { # Cache http pour le store requireSignedBinaryCaches = false; binaryCaches = [ - (mkIf profiles.isDubronetwork "http://192.168.10.169:5000") + (mkIf (profiles.isDubronetwork && (! computers.isMonstre)) "http://192.168.10.169:5000") (mkIf profiles.isDubronetwork "http://192.168.10.252:5000") (mkIf profiles.isPrunetwork "http://192.168.1.20:5000")