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:
provokateurin
2025-11-29 16:55:45 +01:00
committed by github-actions[bot]
parent e0e385b4f9
commit 5f63e1e64a

View File

@@ -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.
'';