mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-31 17:37:25 +02:00
thinkpad-nixos: Correctly handle self mails
This commit is contained in:
parent
cc62ea0f28
commit
27fb62c0b3
1 changed files with 3 additions and 1 deletions
|
|
@ -242,7 +242,8 @@ in {
|
|||
mkProjectMatches = labels: lib.concatStringsSep " or " (builtins.map mkProjectMatch labels);
|
||||
|
||||
mkProject = tag: labels: ''
|
||||
notmuch tag +${tag} +unread -new -- tag:new and \( ${mkProjectMatches labels} \)
|
||||
notmuch tag +${tag} -unread -new -- tag:new and \( ${mkProjectMatches labels} \) and tag:me
|
||||
notmuch tag +${tag} +unread -new -- tag:new and \( ${mkProjectMatches labels} \) and not tag:me
|
||||
'';
|
||||
|
||||
spammyFilters = [
|
||||
|
|
@ -265,6 +266,7 @@ in {
|
|||
${mkProject "hps" ["bxi-hps"]}
|
||||
${mkProject "doc" ["bxi-doc"]}
|
||||
notmuch tag +inbox +unread -new -- tag:new and not tag:me
|
||||
notmuch tag +inbox -unread -new -- tag:new and tag:me
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue