about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/mail/accounts/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix
index 67ac4fb..5ebba2c 100644
--- a/home/mail/accounts/default.nix
+++ b/home/mail/accounts/default.nix
@@ -58,7 +58,7 @@ in
       new.ignore = [ "Trash" ];
       search.excludeTags = [ "spam" "deleted" ];
       hooks = {
-        postNew = "${config.home.profileDirectory}/bin/afew -v --tag --new";
+        postNew = "${config.home.profileDirectory}/bin/afew -v --tag --new --notmuch-config=${config.xdg.configHome}/notmuch/default/config";
       };
     };
 
@@ -71,7 +71,7 @@ in
         ];
         ExecStartPre = [
           "${pkgs.notmuch}/bin/notmuch tag '-inbox' 'tag:inbox AND tag:archive'"
-          "${pkgs.afew}/bin/afew -m -v"
+          "${pkgs.afew}/bin/afew -m -v --notmuch-config=${config.xdg.configHome}/notmuch/default/config"
         ];
         ExecStart = "${pkgs.isync}/bin/mbsync -a";
         ExecStartPost = "${pkgs.notmuch}/bin/notmuch new --quiet";