From f0f266cb55223b60862e1875259876a6be4c9e0c Mon Sep 17 00:00:00 2001 From: Yves Dubromelle Date: Sun, 30 Oct 2016 01:19:25 +0200 Subject: [PATCH] adresse IP du noeud tinc local --- config-generator.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config-generator.nix b/config-generator.nix index 2ea0fa1..0d55c10 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -60,6 +60,13 @@ in virtualbox = mkEnableOption "Profil pour l'utilisation de VirtualBox."; xmonad = mkEnableOption "Profil pour activer le gestionnaire de fenĂȘtres xmonad."; znc = mkEnableOption "Profil pour activer le relais IRC ZNC."; + + tincAddress = mkOption { + default = ""; + example = "192.168.1.1"; + description = "Adresse du noeud tinc local"; + type = lib.types.string; + }; }; #* UtilisĂ© pour avoir des raccourcis de machine r6d.computers = { @@ -207,6 +214,7 @@ in r6d.config-generator = { laptop = true; + tincAddress = "192.168.12.2/24"; }; }) (mkIf comp.isMonstre { @@ -260,6 +268,7 @@ in nix-serve-server = true; laptop = true; edition-photo = true; + tincAddress = "192.168.12.1/24"; }; }) (mkIf comp.isRollo {