mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/listmonk: fixing datatype of options
This commit is contained in:
parent
08e65c3723
commit
6f50091de7
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue