diff --git a/config-generator.nix b/config-generator.nix index 6d747ea..d794172 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -58,6 +58,7 @@ in isMonstre = mkEnableOption "Identification du nom de machine."; isNeoNomade = mkEnableOption "Identification du nom de machine."; isNomade = mkEnableOption "Identification du nom de machine."; + isOcean = mkEnableOption "Identification du nom de machine."; isPhenom = mkEnableOption "Identification du nom de machine."; isRadx = mkEnableOption "Identification du nom de machine."; isXray = mkEnableOption "Identification du nom de machine."; @@ -76,6 +77,7 @@ in isMonstre = host == "monstre.dubronetwork.fr"; isNeoNomade = host == "neo-nomade.dubronetwork.fr"; isNomade = host == "nomade.dubronetwork.fr"; + isOcean = host == "ocean.prunetwork.fr"; isPhenom = host == "phenom.dubronetwork.fr"; isRadx = host == "radx.prunetwork.fr"; isXray = host == "xray.prunetwork.fr"; @@ -121,6 +123,10 @@ in ## Affectation des profils aux machines + (mkIf comp.isOcean { + r6d.profiles.isPrunetwork = true; + r6d.profiles.isServer = true; + }) (mkIf comp.isRadx { r6d.profiles.isHome = true; r6d.profiles.isPrunetwork = true;