tinc module: optionSet -> submodule
This commit is contained in:
parent
8d58771b94
commit
b73ca0df27
@ -18,11 +18,7 @@ in
|
|||||||
|
|
||||||
networks = mkOption {
|
networks = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule {
|
||||||
description = ''
|
|
||||||
Defines the tinc networks which will be started.
|
|
||||||
Each network invokes a different daemon.
|
|
||||||
'';
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
@ -106,6 +102,12 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
description = ''
|
||||||
|
Defines the tinc networks which will be started.
|
||||||
|
Each network invokes a different daemon.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user