Commit 6f50091d authored by revol-xut's avatar revol-xut Committed by Yaya
Browse files

nixos/listmonk: fixing datatype of options

parent 08e65c37
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";
      };