|
|
|
@ -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 = ''
|
|
|
|
|