mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
nixos/nextcloud: Fix services.nextcloud.settings.mail_smtpstreamoptions option type
The option is not a list, but an associative array: https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/email_configuration.html#how-can-i-send-mail-using-self-signed-certificates-or-use-starttls-with-self-signed-certificates
(cherry picked from commit 178b07716d)
This commit is contained in:
committed by
github-actions[bot]
parent
e0e385b4f9
commit
5f63e1e64a
@@ -1100,8 +1100,8 @@ in
|
||||
'';
|
||||
};
|
||||
mail_smtpstreamoptions = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
type = lib.types.attrsOf (lib.types.attrsOf lib.types.anything);
|
||||
default = { };
|
||||
description = ''
|
||||
This depends on `mail_smtpmode`. Array of additional streams options that will be passed to underlying Swift mailer implementation.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user