1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 10:49:48 +01:00

alot: change msmtp default command

This commit is contained in:
Matthieu Coudron 2018-09-30 18:34:22 +09:00 committed by Matthieu Coudron
parent 736e340bde
commit 8e798e4c28
2 changed files with 1 additions and 5 deletions

View file

@ -25,7 +25,7 @@ with lib;
config = mkIf config.notmuch.enable {
alot.sendMailCommand = mkOptionDefault (
if config.msmtp.enable
then "msmtpq --read-envelope-from --read-recipients"
then cfg.msmtp.sendCommand
else null
);
};

View file

@ -63,10 +63,6 @@ in
sendCommand = mkOption {
type = types.str;
default = "msmtpq --read-envelope-from --read-recipients";
# apply = p:
# if hasPrefix "/" p
# then p
# else "${config.home.homeDirectory}/${p}";
description = ''
Default command to use to send mail.
'';