diff options
author | revol-xut <revol-xut@protonmail.com> | 2023-08-31 21:50:33 +0200 |
---|---|---|
committer | Yaya <github@uwu.is> | 2023-09-09 15:21:32 +0200 |
commit | 6f50091de76f06c63fe74fc401069c60cae64c53 (patch) | |
tree | 88f0dcadb5a92c5cab2a5e5afb3c84835e60f6c9 /nixos/modules | |
parent | 08e65c3723c36c501246f1376ae3b5bc369f6b02 (diff) |
nixos/listmonk: fixing datatype of options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/mail/listmonk.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/listmonk.nix b/nixos/modules/services/mail/listmonk.nix index 251362fdd89d3..11b2a5186229b 100644 --- a/nixos/modules/services/mail/listmonk.nix +++ b/nixos/modules/services/mail/listmonk.nix @@ -54,7 +54,7 @@ let smtp = mkOption { type = listOf (submodule { - freeformType = with types; attrsOf (oneOf [ str int bool ]); + freeformType = with types; attrsOf anything; options = { enabled = mkEnableOption (lib.mdDoc "this SMTP server for listmonk"); @@ -86,7 +86,7 @@ let # TODO: refine this type based on the smtp one. "bounce.mailboxes" = mkOption { type = listOf - (submodule { freeformType = with types; oneOf [ str int bool ]; }); + (submodule { freeformType = with types; listOf (attrsOf anything); }); default = [ ]; description = lib.mdDoc "List of bounce mailboxes"; }; |