diff --git a/nixos/modules/services/networking/znc.nix b/nixos/modules/services/networking/znc.nix index 676e82aa893..76ba78ff366 100644 --- a/nixos/modules/services/networking/znc.nix +++ b/nixos/modules/services/networking/znc.nix @@ -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";