diff --git a/config-generator.nix b/config-generator.nix index 889a4bf..5be99ff 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -56,6 +56,7 @@ in isNeoNomade = 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."; }; }; @@ -72,6 +73,7 @@ in isNeoNomade = host == "neo-nomade.dubronetwork.fr"; isPhenom = host == "phenom.dubronetwork.fr"; isRadx = host == "radx.prunetwork.fr"; + isXray = host == "xray.prunetwork.fr"; }; } @@ -124,6 +126,10 @@ in virtualbox = true; }; }) + (mkIf comp.isXray { + r6d.profiles.isPrunetwork = true; + r6d.profiles.isServer = true; + }) (mkIf comp.isLatitude { r6d.profiles.isDubronetwork = true;