From bb528e714d677f619db732fc66795bf0f6375204 Mon Sep 17 00:00:00 2001 From: Nathan Bijnens Date: Sat, 23 Jul 2016 20:58:58 +0200 Subject: Fix #9759 SSMTP sendmail wrapper - cfg instead of full path --- nixos/modules/programs/ssmtp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix index ee5ac02d1316..f5d1873cc5c8 100644 --- a/nixos/modules/programs/ssmtp.nix +++ b/nixos/modules/programs/ssmtp.nix @@ -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; -- cgit 1.4.1