diff options
-rw-r--r-- | lib/email.nix | 13 | ||||
-rw-r--r-- | 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"; |