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 ];
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue