about summary refs log tree commit diff
path: root/nixos/modules/services/mail/davmail.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/mail/davmail.nix')
-rw-r--r--nixos/modules/services/mail/davmail.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/davmail.nix b/nixos/modules/services/mail/davmail.nix
index 5b5cc294e5c7..374a3dd75c1c 100644
--- a/nixos/modules/services/mail/davmail.nix
+++ b/nixos/modules/services/mail/davmail.nix
@@ -7,7 +7,7 @@ let
   cfg = config.services.davmail;
 
   configType = with types;
-    either (either (attrsOf configType) str) (either int bool) // {
+    oneOf [ (attrsOf configType) str int bool ] // {
       description = "davmail config type (str, int, bool or attribute set thereof)";
     };