Skip to content

Commit

Permalink
nixos/postfix: undo deprecation of extraConfig, extraMasterConf
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjornfor authored and globin committed Sep 7, 2017
1 parent 56ccd27 commit eed14ba
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nixos/modules/services/mail/postfix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -836,11 +836,5 @@ in
(mkIf (cfg.dnsBlacklists != []) {
services.postfix.mapFiles."client_access" = checkClientAccessFile;
})
(mkIf (cfg.extraConfig != "") {
warnings = [ "The services.postfix.extraConfig option was deprecated. Please use services.postfix.config instead." ];
})
(mkIf (cfg.extraMasterConf != "") {
warnings = [ "The services.postfix.extraMasterConf option was deprecated. Please use services.postfix.masterConfig instead." ];
})
]);
}

0 comments on commit eed14ba

Please sign in to comment.