From 784b19e8ca3364e26c658bf0fb83c3e504f123da Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 20 Jan 2023 18:30:18 -0500 Subject: more mail changes Change-Id: Ia72dbf642904505f59edc4c60422edf2765099c4 --- lib/email.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/email.nix b/lib/email.nix index 7f477e3..05cfd7e 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -48,13 +48,14 @@ in programs = { notmuch = { enable = true; - new.tags = [ "unread" "inbox" ]; + new.tags = [ "new" ]; + maildir.synchronizeFlags = true; hooks = { - postNew = lib.strings.concatStringsSep " && " [ - "${pkgs.afew}/bin/afew --tag --new" - "${pkgs.afew}/bin/afew --tag tag:inbox" - "${pkgs.afew}/bin/afew --move-mail" - ]; + postNew = '' + ${pkgs.afew}/bin/afew --tag --new + ${pkgs.afew}/bin/afew --tag tag:inbox + ${pkgs.afew}/bin/afew --move-mail + ''; }; extraConfig = { search = { -- cgit v1.2.3