@@ -267,7 +267,7 @@ let
267267 lines = [ sep (formatLine labels) (formatLine labelDefaults) sep ];
268268 in concatStringsSep "\n" lines;
269269
270− in formattedLabels + "\n" + concatMapStringsSep "\n" formatLine masterCf + "\n";
270+ in formattedLabels + "\n" + concatMapStringsSep "\n" formatLine masterCf + "\n" + cfg.extraMasterConf;
271271
272272 headerCheckOptions = { ... }:
273273 {
@@ -839,5 +839,8 @@ in
839839 (mkIf (cfg.extraConfig != "") {
840840 warnings = [ "The services.postfix.extraConfig option was deprecated. Please use services.postfix.config instead." ];
841841 })
842+ (mkIf (cfg.extraMasterConf != "") {
843+ warnings = [ "The services.postfix.extraMasterConf option was deprecated. Please use services.postfix.masterConfig instead." ];
844+ })
842845 ]);
843846}