Run notifymuch in mbsync service
This commit is contained in:
parent
d1483e5989
commit
412cde08cf
|
@ -5,7 +5,10 @@
|
|||
services = {
|
||||
mbsync = {
|
||||
enable = true;
|
||||
postExec = "${pkgs.notmuch}/bin/notmuch new";
|
||||
postExec = ''
|
||||
${pkgs.notmuch}/bin/notmuch new
|
||||
${pkgs.notifymuch}/bin/notifymuch
|
||||
'';
|
||||
};
|
||||
vdirsyncer.enable = true;
|
||||
};
|
||||
|
|
|
@ -10,10 +10,7 @@
|
|||
icloud = [ "INBOX" ];
|
||||
};
|
||||
};
|
||||
notmuch = {
|
||||
enable = true;
|
||||
hooks.postNew = "${pkgs.notifymuch}/bin/notifymuch";
|
||||
};
|
||||
notmuch.enable = true;
|
||||
msmtp.enable = true;
|
||||
};
|
||||
accounts.email = {
|
||||
|
|
Loading…
Reference in a new issue