From 33a6564091b90f71168ed3dbb276f76bbc8f4f3c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 2 Jul 2022 13:47:45 -0700 Subject: feat(home/mail): run afew before mbsync Move the mails based on some rules, then we can synchronize local and remote stores. Change-Id: Iae46d94b14606c54a05efa0aa7eb5ca1eb1deb90 Reviewed-on: https://cl.fcuny.net/c/world/+/603 Tested-by: CI Reviewed-by: Franck Cuny --- home/mail/accounts/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'home/mail/accounts') diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix index 97a5bbd..c827850 100644 --- a/home/mail/accounts/default.nix +++ b/home/mail/accounts/default.nix @@ -72,6 +72,7 @@ in Environment = [ "PASSWORD_STORE_DIR=${config.programs.password-store.settings.PASSWORD_STORE_DIR}" ]; + ExecStartPre = "${pkgs.afew}/bin/afew -m -v"; ExecStart = "${pkgs.isync}/bin/mbsync -a"; ExecStartPost = "${pkgs.notmuch}/bin/notmuch new --quiet"; }; -- cgit 1.4.1