From 5350372774301a514fb24331378f9fc8a1fc4297 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Thu, 21 Jul 2016 12:54:11 +0200 Subject: [PATCH] ajout de profil minimaliste pour ocean --- config-generator.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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;