From 9bc50b35dd7275734f5df089fb8c5720ce9cf8e2 Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Fri, 12 Aug 2016 01:08:32 +0200 Subject: [PATCH] ajout de la machine pedro --- config-generator.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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;