winstone module: optionSet -> submodule

Changed files
+1 -2
nixos
modules
services
web-servers
+1 -2
nixos/modules/services/web-servers/winstone.nix
···
options = {
services.winstone = mkOption {
default = {};
-
type = types.attrsOf types.optionSet;
-
options = [ winstoneOpts ];
description = ''
Defines independent Winstone services, each serving one WAR-file.
'';
···
options = {
services.winstone = mkOption {
default = {};
+
type = with types; attrsOf (submodule winstoneOpts);
description = ''
Defines independent Winstone services, each serving one WAR-file.
'';