peers -> extraconfig de tinc, pour être plus souple
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user