mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 18:59:47 +01: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 {
|
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