mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
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.
This commit is contained in:
parent
56ccd27dee
commit
eed14baec3
@ -836,11 +836,5 @@ in
|
|||||||
(mkIf (cfg.dnsBlacklists != []) {
|
(mkIf (cfg.dnsBlacklists != []) {
|
||||||
services.postfix.mapFiles."client_access" = checkClientAccessFile;
|
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." ];
|
|
||||||
})
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user