git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/postfix: undo deprecation of extraConfig, extraMasterConf

I realize that advanced users like to configure services with Nix attrsets, but I don't think we should remove the option to use the (configuration) language provided by upstream.

commiteed14baec3db43df7294d3b549045c7298044eb4 authorBjørn Forsman <bjorn.forsman@gmail.com> dateSat 2 Sep 2017, 09:50 (9 years ago) parent56ccd27
1 file changed−6
nixos/modules/services/mail/postfix.nix−6
nixos/modules/services/mail/postfix.nix−6
@@ -836,11 +836,5 @@ in
836836 (mkIf (cfg.dnsBlacklists != []) {
837837 services.postfix.mapFiles."client_access" = checkClientAccessFile;
838838 })
839− (mkIf (cfg.extraConfig != "") {
840− warnings = [ "The services.postfix.extraConfig option was deprecated. Please use services.postfix.config instead." ];
841− })
842− (mkIf (cfg.extraMasterConf != "") {
843− warnings = [ "The services.postfix.extraMasterConf option was deprecated. Please use services.postfix.masterConfig instead." ];
844− })
845839 ]);
846840}