activation du client sur les machines + ajout monstre

This commit is contained in:
2016-07-09 21:42:44 +02:00
parent 0bbddfbfa0
commit 2fa21f7f4d
2 changed files with 14 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
config = mkIf config.r6d.config-generator.nix-serve-client { nix = pkgs.lib.mkIf config.r6d.config-generator.nix-serve-client {
# Cache http pour le store # Cache http pour le store
nix.requireSignedBinaryCaches = false; requireSignedBinaryCaches = false;
nix.binaryCaches = [ "http://192.168.10.169:5000" ]; binaryCaches = [ "http://192.168.10.169:5000" ];
} };
} }

View File

@@ -123,17 +123,25 @@ in
docker = true; docker = true;
jeux = true; jeux = true;
laptop = true; laptop = true;
nix-serve-client = true;
}; };
}) })
(mkIf (config.networking.hostName == "nro-nomade.dubronetwork.fr") { (mkIf (config.networking.hostName == "monstre.dubronetwork.fr") {
r6d.config-generator = {
nix-serve-server = true;
};
})
(mkIf (config.networking.hostName == "neo-nomade.dubronetwork.fr") {
r6d.config-generator = { r6d.config-generator = {
laptop = true; laptop = true;
nix-serve-client = true;
}; };
}) })
(mkIf (config.networking.hostName == "phenom.dubronetwork.fr") { (mkIf (config.networking.hostName == "phenom.dubronetwork.fr") {
r6d.config-generator = { r6d.config-generator = {
docker = true; docker = true;
jeux = true; jeux = true;
nix-serve-client = true;
nix-serve-server = true; nix-serve-server = true;
virtualbox = true; virtualbox = true;
}; };