summary refs log tree commit diff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-09-11 18:49:09 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-09-13 12:53:12 +0900
commit03ee88f666ce32755eae06a2377de6a7810cd2ac (patch)
tree991b1e8ca1a73effed76a2332ac204dbc604b4bf /nixos/modules/services/web-servers
parentc16d03ddc5854b3cebc1bccb5a77e4df7ee8733f (diff)
downloadnixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar.gz
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar.bz2
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar.lz
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar.xz
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.tar.zst
nixlib-03ee88f666ce32755eae06a2377de6a7810cd2ac.zip
zope2 module: optionSet -> submodule
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/zope2.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/web-servers/zope2.nix b/nixos/modules/services/web-servers/zope2.nix
index ef3cffd582ee..8a453e015577 100644
--- a/nixos/modules/services/web-servers/zope2.nix
+++ b/nixos/modules/services/web-servers/zope2.nix
@@ -74,7 +74,7 @@ in
 
     services.zope2.instances = mkOption {
       default = {};
-      type = types.loaOf types.optionSet;
+      type = with types; loaOf (submodule zope2Opts);
       example = literalExample ''
         {
           plone01 = {
@@ -96,7 +96,6 @@ in
         }
       '';
       description = "zope2 instances to be created automaticaly by the system.";
-      options = [ zope2Opts ];
     };
   };