mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
alot: change msmtp default command
This commit is contained in:
parent
736e340bde
commit
8e798e4c28
2 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue