alot: change msmtp default command
This commit is contained in:
parent
736e340bde
commit
8e798e4c28
|
@ -25,7 +25,7 @@ with lib;
|
||||||
config = mkIf config.notmuch.enable {
|
config = mkIf config.notmuch.enable {
|
||||||
alot.sendMailCommand = mkOptionDefault (
|
alot.sendMailCommand = mkOptionDefault (
|
||||||
if config.msmtp.enable
|
if config.msmtp.enable
|
||||||
then "msmtpq --read-envelope-from --read-recipients"
|
then cfg.msmtp.sendCommand
|
||||||
else null
|
else null
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,10 +63,6 @@ in
|
||||||
sendCommand = mkOption {
|
sendCommand = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "msmtpq --read-envelope-from --read-recipients";
|
default = "msmtpq --read-envelope-from --read-recipients";
|
||||||
# apply = p:
|
|
||||||
# if hasPrefix "/" p
|
|
||||||
# then p
|
|
||||||
# else "${config.home.homeDirectory}/${p}";
|
|
||||||
description = ''
|
description = ''
|
||||||
Default command to use to send mail.
|
Default command to use to send mail.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue