summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-01-20 18:30:18 -0500
committerBen Sima <ben@bsima.me>2023-01-20 18:30:18 -0500
commit784b19e8ca3364e26c658bf0fb83c3e504f123da (patch)
treed8a0dda257b7c9c9b65ba4a6565e4893a68af393
parentf8a97e23c7c3ef7eddb60819b9cffa3361a57cb4 (diff)
more mail changes
Change-Id: Ia72dbf642904505f59edc4c60422edf2765099c4
-rw-r--r--lib/email.nix13
-rw-r--r--profiles/laptop.nix2
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";