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 +++++++------ profiles/laptop.nix | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) 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 = { diff --git a/profiles/laptop.nix b/profiles/laptop.nix index f6af7ac..3284952 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -119,7 +119,7 @@ services.muchsync = { remotes = { lithium = { - frequency = "*:0/10"; + frequency = "*:0/05"; upload = true; remote = { host = "dev.simatime.com"; -- cgit v1.2.3