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