Compare commits

...

1 commit

Author SHA1 Message Date
Sumner Evans d5fb54420e
neomutt/signature: unset if disabled
Closes #2876
2022-04-08 09:31:38 -06:00
5 changed files with 8 additions and 2 deletions

View file

@ -223,9 +223,11 @@ let
# Extra configuration # Extra configuration
${account.neomutt.extraConfig} ${account.neomutt.extraConfig}
'' + optionalString (account.signature.showSignature != "none") '' '' + (if (account.signature.showSignature == "none") then ''
unset signature
'' else ''
set signature = ${pkgs.writeText "signature.txt" account.signature.text} set signature = ${pkgs.writeText "signature.txt" account.signature.text}
'' + optionalString account.notmuch.enable (notmuchSection account); '') + optionalString account.notmuch.enable (notmuchSection account);
in { in {
options = { options = {

View file

@ -31,6 +31,7 @@ set trash='+Trash'
# Extra configuration # Extra configuration
color status cyan default color status cyan default
unset signature
# notmuch section # notmuch section
set nm_default_uri = "notmuch:///home/hm-user/Mail" set nm_default_uri = "notmuch:///home/hm-user/Mail"
virtual-mailboxes "My INBOX" "notmuch://?query=tag:inbox" virtual-mailboxes "My INBOX" "notmuch://?query=tag:inbox"

View file

@ -30,3 +30,4 @@ set trash='+Trash'
# Extra configuration # Extra configuration
unset signature

View file

@ -30,3 +30,4 @@ set trash='+Trash'
# Extra configuration # Extra configuration
color status cyan default color status cyan default
unset signature

View file

@ -28,3 +28,4 @@ set trash='+Trash'
# Extra configuration # Extra configuration
unset signature