summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorTravis Athougies <travis@athougies.net>2021-11-12 08:28:39 -0800
committerGitHub <noreply@github.com>2021-11-12 17:28:39 +0100
commit82037871bb12293e55092b5a7b6b4fa2dfce433c (patch)
tree2d589a5be5974f09b57df461ac717cc4fd3cb323 /nixos
parent9011167284d92123520de9cfab18c2594ea14b7e (diff)
nixos/postfix: Use better types for submissionOptions and submissionsOptions (#138205)
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/mail/postfix.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index 6fc09682e0c0..23d3574ae27c 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -294,7 +294,7 @@ in
};
submissionOptions = mkOption {
- type = types.attrs;
+ type = with types; attrsOf str;
default = {
smtpd_tls_security_level = "encrypt";
smtpd_sasl_auth_enable = "yes";
@@ -312,7 +312,7 @@ in
};
submissionsOptions = mkOption {
- type = types.attrs;
+ type = with types; attrsOf str;
default = {
smtpd_sasl_auth_enable = "yes";
smtpd_client_restrictions = "permit_sasl_authenticated,reject";