tinc module: optionSet -> submodule

This commit is contained in:
Eric Sagnes
2016-09-13 12:53:12 +09:00
parent 8d58771b94
commit b73ca0df27
+7 -5
View File
@@ -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.
'';
}; };
}; };