From b7f05e47ac9c67168a51f9e9814cb80081c2ac56 Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Sat, 16 Jul 2016 20:42:30 +0200 Subject: [PATCH] =?UTF-8?q?prise=20en=20compte=20de=20nomade=20par=20le=20?= =?UTF-8?q?g=C3=A9n=C3=A9rateur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-generator.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config-generator.nix b/config-generator.nix index c91ea73..b5204f4 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -55,6 +55,7 @@ in isLatitude = mkEnableOption "Identification du nom de machine."; isMonstre = mkEnableOption "Identification du nom de machine."; isNeoNomade = mkEnableOption "Identification du nom de machine."; + isNomade = 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 isLatitude = host == "latitude.dubronetwork.fr"; isMonstre = host == "monstre.dubronetwork.fr"; isNeoNomade = host == "neo-nomade.dubronetwork.fr"; + isNomade = host == "nomade.dubronetwork.fr"; isPhenom = host == "phenom.dubronetwork.fr"; isRadx = host == "radx.prunetwork.fr"; isXray = host == "xray.prunetwork.fr"; @@ -154,6 +156,13 @@ in laptop = true; }; }) + (mkIf comp.isNomade{ + r6d.profiles.isDubronetwork = true; + + r6d.config-generator = { + laptop = true; + }; + }) (mkIf comp.isPhenom { r6d.profiles.isDubronetwork = true; r6d.profiles.isHome = true;