peers -> extraconfig de tinc, pour être plus souple

upgrade-16.09
Yves Dubromelle 9 years ago
parent 0a3d820dd6
commit 31f57965f9

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

Loading…
Cancel
Save