znc module: optionSet -> submodule (#20096)

This commit is contained in:
Eric Sagnes
2016-11-03 05:02:14 +01:00
committed by Franz Pletz
parent 5d6eaaa179
commit 7fd38dc8b3
+1 -2
View File
@@ -208,11 +208,10 @@ in
networks = mkOption { networks = mkOption {
default = { }; default = { };
type = types.loaOf types.optionSet; type = with types; loaOf (submodule networkOpts);
description = '' description = ''
IRC networks to connect the user to. IRC networks to connect the user to.
''; '';
options = [ networkOpts ];
example = { example = {
"freenode" = { "freenode" = {
server = "chat.freenode.net"; server = "chat.freenode.net";