summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-09-11 18:06:35 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-09-13 12:53:11 +0900
commitd89a718bafb0110a5ee455e0e84d05e4a95795ab (patch)
tree744bf0a0b0375bce8086d03d8c34fb254b954567 /nixos
parentc3bdee3c397598a93276a52bd6bdc495fef18cb0 (diff)
downloadnixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar.gz
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar.bz2
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar.lz
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar.xz
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.tar.zst
nixlib-d89a718bafb0110a5ee455e0e84d05e4a95795ab.zip
prosody module: optionSet -> submodule
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/prosody.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix
index f82f8bfddbb7..247c4f1efb07 100644
--- a/nixos/modules/services/networking/prosody.nix
+++ b/nixos/modules/services/networking/prosody.nix
@@ -164,7 +164,7 @@ in
 
         description = "Define the virtual hosts";
 
-        type = types.loaOf types.optionSet;
+        type = with types; loaOf (submodule vHostOpts);
 
         example = {
           myhost = {
@@ -180,7 +180,6 @@ in
           };
         };
 
-        options = [ vHostOpts ];
       };
 
       ssl = mkOption {