nixos/listmonk: fixing datatype of options

authored by

revol-xut and committed by
Yaya
6f50091d 08e65c37

+2 -2
+2 -2
nixos/modules/services/mail/listmonk.nix
··· 54 54 55 55 smtp = mkOption { 56 56 type = listOf (submodule { 57 - freeformType = with types; attrsOf (oneOf [ str int bool ]); 57 + freeformType = with types; attrsOf anything; 58 58 59 59 options = { 60 60 enabled = mkEnableOption (lib.mdDoc "this SMTP server for listmonk"); ··· 86 86 # TODO: refine this type based on the smtp one. 87 87 "bounce.mailboxes" = mkOption { 88 88 type = listOf 89 - (submodule { freeformType = with types; oneOf [ str int bool ]; }); 89 + (submodule { freeformType = with types; listOf (attrsOf anything); }); 90 90 default = [ ]; 91 91 description = lib.mdDoc "List of bounce mailboxes"; 92 92 };