mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
git: respect programs.msmtp.package
Since the user may override `programs.msmtp.package` using
`pkgs.msmtp` as the sendmail binary might result in the wrong package
being used.
(cherry picked from commit 258db1d39b)
This commit is contained in:
committed by
github-actions[bot]
parent
0d02ec1d0a
commit
e38e46c8b2
@@ -379,7 +379,7 @@ in
|
||||
lib.nameValuePair "sendemail.${name}" (
|
||||
if account.msmtp.enable then
|
||||
{
|
||||
sendmailCmd = "${pkgs.msmtp}/bin/msmtp";
|
||||
sendmailCmd = lib.getExe config.programs.msmtp.package;
|
||||
envelopeSender = "auto";
|
||||
from = "${realName} <${address}>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user