nixos/postfix: fix in secure systemd-nspawn containers

This commit is contained in:
Quinn Flavel
2025-07-09 23:12:45 +00:00
parent 99afe02b71
commit f2eda9a6a9

View File

@@ -894,7 +894,7 @@ in
${lib.concatStringsSep "\n" (
lib.mapAttrsToList (to: from: ''
ln -sf ${from} /var/lib/postfix/conf/${to}
${pkgs.postfix}/bin/postmap /var/lib/postfix/conf/${to}
${pkgs.postfix}/bin/postmap -o -p /var/lib/postfix/conf/${to}
'') cfg.mapFiles
)}