From 11a69418a7d7eb1b2a1658bf66f3e0841e72ffae Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Fri, 27 Jan 2017 18:17:02 +0100 Subject: [PATCH] ajout machine hydra.prunetwork.fr --- config-generator.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config-generator.nix b/config-generator.nix index 1c75732..1719a45 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -85,6 +85,7 @@ in }; #* Utilisé pour avoir des raccourcis de machine r6d.computers = { + isHydra = mkEnableOption "Identification du nom de machine."; isLatitude = mkEnableOption "Identification du nom de machine."; isMonstre = mkEnableOption "Identification du nom de machine."; isNeoNomade = mkEnableOption "Identification du nom de machine."; @@ -105,6 +106,7 @@ in { r6d.config-generator.enable = true; r6d.computers = { + isHydra = host == "hydra.prunetwork.fr"; isLatitude = host == "latitude.dubronetwork.fr"; isMonstre = host == "monstre.dubronetwork.fr"; isNeoNomade = host == "neo-nomade.dubronetwork.fr"; @@ -207,6 +209,20 @@ in ## Affectation des profils aux machines + (mkIf comp.isHydra { + r6d.profiles = { + isPrunetwork = true; + isServer = true; + }; + + r6d.config-generator = { + docker = true; + #tincAddress = "192.168.12.6/24"; + #tincExtraConfig = '' + # ConnectTo = rollo_dubronetwork_fr + # ''; + }; + }) (mkIf comp.isOcean { r6d.profiles = { isPrunetwork = true;