about summary refs log tree commit diff
path: root/nixos/modules/services/mail
diff options
context:
space:
mode:
authorrevol-xut <revol-xut@protonmail.com>2023-08-31 21:50:33 +0200
committerYaya <github@uwu.is>2023-09-09 15:21:32 +0200
commit6f50091de76f06c63fe74fc401069c60cae64c53 (patch)
tree88f0dcadb5a92c5cab2a5e5afb3c84835e60f6c9 /nixos/modules/services/mail
parent08e65c3723c36c501246f1376ae3b5bc369f6b02 (diff)
nixos/listmonk: fixing datatype of options
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r--nixos/modules/services/mail/listmonk.nix4
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";
       };