enable msmtp and ignore mbsyncstate files

This commit is contained in:
Noah Masur 2023-07-28 18:49:24 -04:00
parent 984fca2021
commit bbb210ec4f

View File

@ -33,7 +33,11 @@
postExec = "${pkgs.notmuch}/bin/notmuch new";
};
services.imapnotify.enable = pkgs.stdenv.isLinux;
programs.notmuch.enable = true;
programs.msmtp.enable = true;
programs.notmuch = {
enable = true;
new.ignore = [ ".mbsyncstate.lock" ".mbsyncstate.journal" ];
};
accounts.email = {
maildirBasePath = "${config.homePath}/mail";
accounts = {
@ -74,6 +78,7 @@
CopyArrivalDate = "yes"; # Sync time of original message
};
};
msmtp.enable = true;
notmuch.enable = true;
passwordCommand =
"${pkgs.age}/bin/age --decrypt --identity ${config.identityFile} ${