tinc module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 18:37:46 +09:00
parent 8d58771b94
commit b73ca0df27

View File

@ -18,11 +18,7 @@ in
networks = mkOption {
default = { };
type = types.loaOf types.optionSet;
description = ''
Defines the tinc networks which will be started.
Each network invokes a different daemon.
'';
type = with types; loaOf (submodule {
options = {
extraConfig = mkOption {
@ -106,6 +102,12 @@ in
'';
};
};
});
description = ''
Defines the tinc networks which will be started.
Each network invokes a different daemon.
'';
};
};