From e30af03737bc364838f117ab4ac20982e21131f8 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 7 Nov 2018 16:09:27 -0800 Subject: Add msmtp-queue to notmuch hook --- home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home.nix') 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 = { -- cgit v1.2.3