about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/mail/accounts/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix
index 1e4ed07..67ac4fb 100644
--- a/home/mail/accounts/default.nix
+++ b/home/mail/accounts/default.nix
@@ -69,7 +69,10 @@ in
         Environment = [
           "PASSWORD_STORE_DIR=${config.programs.password-store.settings.PASSWORD_STORE_DIR}"
         ];
-        ExecStartPre = "${pkgs.afew}/bin/afew -m -v";
+        ExecStartPre = [
+          "${pkgs.notmuch}/bin/notmuch tag '-inbox' 'tag:inbox AND tag:archive'"
+          "${pkgs.afew}/bin/afew -m -v"
+        ];
         ExecStart = "${pkgs.isync}/bin/mbsync -a";
         ExecStartPost = "${pkgs.notmuch}/bin/notmuch new --quiet";
       };