diff --git a/hostconfig/thinkpad-nixos/hm.nix b/hostconfig/thinkpad-nixos/hm.nix index 9b0b250..93d4a2e 100644 --- a/hostconfig/thinkpad-nixos/hm.nix +++ b/hostconfig/thinkpad-nixos/hm.nix @@ -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 ''; }; };