From 46da79cb9474bc1280cc5a1ff4124956af00742b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 30 Oct 2020 12:06:44 -0400 Subject: Move some email settings around --- lib/email.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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;"; -- cgit v1.2.3