Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixos/postfix: Use better types for submissionOptions and submissionsOptions (#138205)

authored by Travis Athougies and committed by GitHub 82037871 90111672

+2 -2
+2 -2
nixos/modules/services/mail/postfix.nix
··· 294 294 }; 295 295 296 296 submissionOptions = mkOption { 297 - type = types.attrs; 297 + type = with types; attrsOf str; 298 298 default = { 299 299 smtpd_tls_security_level = "encrypt"; 300 300 smtpd_sasl_auth_enable = "yes"; ··· 312 312 }; 313 313 314 314 submissionsOptions = mkOption { 315 - type = types.attrs; 315 + type = with types; attrsOf str; 316 316 default = { 317 317 smtpd_sasl_auth_enable = "yes"; 318 318 smtpd_client_restrictions = "permit_sasl_authenticated,reject";