Run notmuch new after mbsync job
This commit is contained in:
parent
341d7059a2
commit
600606d554
|
@ -1,9 +1,12 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./email.nix ./calendar.nix ./contact.nix ];
|
||||
services = {
|
||||
mbsync.enable = true;
|
||||
mbsync = {
|
||||
enable = true;
|
||||
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
||||
};
|
||||
vdirsyncer.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue