summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/home.nix b/home.nix
index 6a7c5c6..c147906 100644
--- a/home.nix
+++ b/home.nix
@@ -275,7 +275,10 @@ in
enable = true;
new.tags = [ "unread" "inbox" ];
hooks = {
- preNew = "mbsync --all";
+ preNew = ''
+ msmtp-queue -r
+ mbsync --all
+ '';
postNew = builtins.readFile ./notmuch-hook.sh;
};
extraConfig = {