diff --git a/config-generator.nix b/config-generator.nix index 44d84f7..3a8dbb1 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -66,6 +66,7 @@ in isNeoNomade = mkEnableOption "Identification du nom de machine."; isNomade = mkEnableOption "Identification du nom de machine."; isOcean = mkEnableOption "Identification du nom de machine."; + isPedro = mkEnableOption "Identification du nom de machine."; isPhenom = mkEnableOption "Identification du nom de machine."; isRadx = mkEnableOption "Identification du nom de machine."; isRollo = mkEnableOption "Identification du nom de machine."; @@ -86,6 +87,7 @@ in isNeoNomade = host == "neo-nomade.dubronetwork.fr"; isNomade = host == "nomade.dubronetwork.fr"; isOcean = host == "ocean.prunetwork.fr"; + isPedro = host == "pedro.dubronetwork.fr"; isPhenom = host == "phenom.dubronetwork.fr"; isRadx = host == "radx.prunetwork.fr"; isRollo = host == "rollo.dubronetwork.fr"; @@ -233,6 +235,17 @@ in laptop = true; }; }) + (mkIf comp.isPedro { + r6d.profiles = { + isDubronetwork = true; + isServer = true; + }; + + r6d.config-generator = { + fail2ban = true; + online-ipv6 = true; + }; + }) (mkIf comp.isPhenom { r6d.profiles = { isDubronetwork = true;