3
0
Fork 0
forked from mirrors/nixpkgs

znc module: optionSet -> submodule (#20096)

This commit is contained in:
Eric Sagnes 2016-11-03 13:02:14 +09:00 committed by Franz Pletz
parent 5d6eaaa179
commit 7fd38dc8b3

View file

@ -208,11 +208,10 @@ in
networks = mkOption {
default = { };
type = types.loaOf types.optionSet;
type = with types; loaOf (submodule networkOpts);
description = ''
IRC networks to connect the user to.
'';
options = [ networkOpts ];
example = {
"freenode" = {
server = "chat.freenode.net";