From 9499034120522d7543c6c8e3b7ec4fbab298acf9 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Mon, 11 Jul 2016 12:44:27 +0200 Subject: [PATCH] ajout du cache nixos normal. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * la définition d'un server de cache supprimait cache.nixos.org de la liste Pour le voir nixos-option nix.binaryCaches --- 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 438dedc..813d16a 100644 --- a/activation-manuelle/nix-serve-client.nix +++ b/activation-manuelle/nix-serve-client.nix @@ -8,7 +8,8 @@ in { # Cache http pour le store requireSignedBinaryCaches = false; binaryCaches = [ - (mkIf (profiles.isDubronetwork && (! computers.isMonstre)) "http://192.168.10.169:5000") + ("https://cache.nixos.org/") + (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")