|
|
@ -67,6 +67,16 @@ in
|
|
|
|
description = "Adresse du noeud tinc local";
|
|
|
|
description = "Adresse du noeud tinc local";
|
|
|
|
type = lib.types.string;
|
|
|
|
type = lib.types.string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
tincPeers = mkOption {
|
|
|
|
|
|
|
|
default = "";
|
|
|
|
|
|
|
|
example = ''
|
|
|
|
|
|
|
|
toto
|
|
|
|
|
|
|
|
foo
|
|
|
|
|
|
|
|
bar
|
|
|
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
description = "Noeuds tinc auquels se connecter (ConnectTo)";
|
|
|
|
|
|
|
|
type = lib.types.string;
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#* Utilisé pour avoir des raccourcis de machine
|
|
|
|
#* Utilisé pour avoir des raccourcis de machine
|
|
|
|
r6d.computers = {
|
|
|
|
r6d.computers = {
|
|
|
@ -215,6 +225,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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
})
|
|
|
|
(mkIf comp.isMonstre {
|
|
|
|
(mkIf comp.isMonstre {
|
|
|
|