diff --git a/config-generator.nix b/config-generator.nix index eaf1da1..4eab55f 100644 --- a/config-generator.nix +++ b/config-generator.nix @@ -67,14 +67,13 @@ in description = "Adresse du noeud tinc local"; type = lib.types.string; }; - tincPeers = mkOption { + tincExtraConfig = mkOption { default = ""; example = '' - toto - foo - bar + Mode = router + ConnecTo = bar ''; - description = "Noeuds tinc auquels se connecter (ConnectTo)"; + description = "Configuration supplémentaire pour tinc"; type = lib.types.string; }; }; @@ -225,7 +224,7 @@ in r6d.config-generator = { laptop = true; tincAddress = "192.168.12.2/24"; - tincPeers = "phenom_dubronetwork_fr"; + tincExtraConfig = "ConnectTo = phenom_dubronetwork_fr"; }; }) (mkIf comp.isMonstre {