From b15672c3adefe39c6e2a3ea3fcf147f74bf99509 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Sun, 21 May 2017 13:58:09 +0200 Subject: [PATCH] =?UTF-8?q?m=C3=A9nage=20config=20generator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config-generator.nix | 46 -------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/config-generator.nix b/config-generator.nix index 811fca4..99b1805 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -21,15 +21,12 @@ in options = { #* 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."; 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."; }; }; @@ -79,50 +76,7 @@ in }; }) - ## Profils liés à Prunetwork - (mkIf (pfl.isPrunetwork && pfl.isWorkstation) { - r6d.config-generator = { - cartographie = true; - conception-assistee = true; - docker = true; - developpement = true; - #developpement-elm = true; - developpement-haskell = true; - developpement-java = true; - developpement-rust = true; - edition-musique = true; - edition-photo = true; - edition-video = true; - hydra-core = false; # DO NOT ENABLE ON WORKSTATION, YOU CAN CRASH YOUR SYSTEM - print = true; - scanner = true; - #virtualbox = true; - #xmonad = true; - }; - }) - - ## Affectation des profils aux machines - (mkIf comp.isOcean { - networking.hostName = "ocean.prunetwork.fr"; # Define your hostname. - r6d.profiles = { - isPrunetwork = true; - isServer = true; - }; - - r6d.config-generator = { - docker = true; - hydra-builder = true; - radicale = true; - nix-serve-client = true; - nix-serve-server = true; - tincAddress = "192.168.12.6/24"; - tincExtraConfig = '' - ConnectTo = hydra_prunetwork_fr - ConnectTo = rollo_dubronetwork_fr - ''; - }; - }) (mkIf comp.isLatitude { networking.hostName = "latitude.dubronetwork.fr"; # Define your hostname.