Add notifymuch package with hook

Should get desktop notifications on new notmuch entries now

Trial different emacs email frontends
This commit is contained in:
Evie Litherland-Smith 2023-09-28 17:04:01 +01:00
parent 600606d554
commit 61c5434ba3
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, hostName, ... }:
{
home.packages = with pkgs; [ protonmail-bridge ];
home.packages = with pkgs; [ notifymuch protonmail-bridge ];
programs = {
mbsync = {
enable = true;
@ -10,9 +10,12 @@
icloud = [ "INBOX" ];
};
};
notmuch = {
enable = true;
hooks.postNew = "${pkgs.notifymuch}/bin/notifymuch";
};
msmtp.enable = true;
mu.enable = true;
notmuch.enable = true;
};
accounts.email = {
maildirBasePath = ".mail";

View file

@ -178,7 +178,7 @@
:email
(mu4e +org +gmail)
(notmuch +afew +org)
;; (wanderlust +gmail)
(wanderlust +gmail)
:app
calendar