nixos-config/config/programs/mail.nix

33 lines
612 B
Nix
Raw Normal View History

2022-01-19 13:56:46 +00:00
{ ... }: {
services.imapnotify.enable = true;
programs.mbsync.enable = true;
programs.notmuch = {
enable = true;
};
programs.neomutt = {
enable = true;
vimKeys = true;
sidebar = {
enable = true;
};
2022-01-19 15:03:11 +00:00
binds = [
{
2022-01-19 15:09:20 +00:00
key = "\\CA";
2022-01-19 15:03:11 +00:00
action = "sidebar-next";
2022-01-19 15:10:09 +00:00
map = [ "index" "pager" ];
2022-01-19 15:03:11 +00:00
}
{
2022-01-19 15:09:20 +00:00
key = "\\CL";
2022-01-19 15:03:11 +00:00
action = "sidebar-prev";
2022-01-19 15:10:09 +00:00
map = [ "index" "pager" ];
2022-01-19 15:03:11 +00:00
}
{
2022-01-19 15:09:20 +00:00
key = "\\CP";
2022-01-19 15:03:11 +00:00
action = "sidebar-open";
2022-01-19 15:10:09 +00:00
map = [ "index" "pager" ];
2022-01-19 15:03:11 +00:00
}
];
2022-01-19 13:56:46 +00:00
};
2022-01-19 14:48:24 +00:00
programs.msmtp.enable = true;
2022-01-19 13:56:46 +00:00
}