diff options
author | Nathan Bijnens <nathan@nathan.gs> | 2016-07-23 20:58:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-23 20:58:58 +0200 |
commit | bb528e714d677f619db732fc66795bf0f6375204 (patch) | |
tree | 39155ea5a68553c485d0daaa0a74cc4ca1cb4a71 | |
parent | cf3867a5efbbc36743cc7009e33c872cfe3fa232 (diff) | |
download | nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar.gz nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar.bz2 nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar.lz nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar.xz nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.tar.zst nixpkgs-bb528e714d677f619db732fc66795bf0f6375204.zip |
Fix #9759 SSMTP sendmail wrapper - cfg instead of full path
-rw-r--r-- | nixos/modules/programs/ssmtp.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix index ee5ac02d131..f5d1873cc5c 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; |