Run notmuch new after mbsync job

This commit is contained in:
Evie Litherland-Smith 2023-09-28 15:33:41 +01:00
parent 341d7059a2
commit 600606d554

View file

@ -1,9 +1,12 @@
{ ... }: { pkgs, ... }:
{ {
imports = [ ./email.nix ./calendar.nix ./contact.nix ]; imports = [ ./email.nix ./calendar.nix ./contact.nix ];
services = { services = {
mbsync.enable = true; mbsync = {
enable = true;
postExec = "${pkgs.notmuch}/bin/notmuch new";
};
vdirsyncer.enable = true; vdirsyncer.enable = true;
}; };
} }