Fix #9759 SSMTP sendmail wrapper - cfg instead of full path

This commit is contained in:
Nathan Bijnens 2016-07-23 20:58:58 +02:00 committed by GitHub
parent cf3867a5ef
commit bb528e714d

View File

@ -129,7 +129,7 @@ in
environment.systemPackages = [pkgs.ssmtp];
services.mail.sendmailSetuidWrapper = mkIf networking.defaultMailServer.setSendmail {
services.mail.sendmailSetuidWrapper = mkIf cfg.setSendmail {
program = "sendmail";
source = "${pkgs.ssmtp}/bin/sendmail";
setuid = false;