Notmuch improvements

This commit is contained in:
Valentin Brandl 2024-07-19 02:13:24 +02:00
parent 8b01d48134
commit 12419642e6
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -104,6 +104,10 @@ in {
services.imapnotify.enable = true; services.imapnotify.enable = true;
programs.notmuch = { programs.notmuch = {
enable = true; enable = true;
hooks.postNew = ''
# remove inbox tag from moved messages
notmuch tag -inbox not 'folder:/.*\/Inbox/'
'';
}; };
programs.neomutt = { programs.neomutt = {
@ -230,6 +234,12 @@ in {
key = "zA"; key = "zA";
action = "collapse-all"; action = "collapse-all";
} }
/* search with notmuch */
{ map = [ "pager" "index" ];
key = "S";
action = "vfolder-from-query";
}
]; ];
}; };
programs.msmtp.enable = true; programs.msmtp.enable = true;