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