diff options
author | Ben Sima <ben@bsima.me> | 2020-10-30 12:06:44 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-10-30 12:06:44 -0400 |
commit | 46da79cb9474bc1280cc5a1ff4124956af00742b (patch) | |
tree | 402e9e0c03df195a6ac0ddde0bcc76256b1bf62b /lib | |
parent | 6b2c03d3bb8ac1de2d9431fe08c12b45ec193695 (diff) |
Move some email settings around
Diffstat (limited to 'lib')
-rw-r--r-- | lib/email.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/email.nix b/lib/email.nix index 17ec44d..449e3d8 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -69,7 +69,9 @@ in notmuch = { enable = true; new.tags = [ "new" ]; - hooks = {}; + hooks = { + postNew = "${pkgs.afew}/bin/afew -tn && ${pkgs.afew}/bin/afew -t tag:inbox"; + }; extraConfig = { search = { exclude_tags = "deleted;spam;"; |