summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-07 16:09:27 -0800
committerBen Sima <ben@bsima.me>2018-11-07 16:09:27 -0800
commite30af03737bc364838f117ab4ac20982e21131f8 (patch)
treebe411b2a91684084e737d6485315420dfed0fc45
parent98d41aa9374b033f194f940ba3983babc29e5ef8 (diff)
Add msmtp-queue to notmuch hook
-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 = {