nixos-config/modules/home/email.nix

72 lines
1.8 KiB
Nix
Raw Normal View History

2025-03-26 12:06:14 -04:00
{ pkgs, ... }:
2025-02-06 13:56:58 -05:00
{
accounts.email = {
maildirBasePath = "/home/emenel/.maildir";
accounts = {
"matt@emenel.ca" = {
address = "matt@emenel.ca";
realName = "Matt Nish-Lapidus";
primary = true;
mu.enable = true;
mbsync = {
enable = true;
2025-03-19 16:54:42 -04:00
create = "both";
extraConfig.channel = {
CopyArrivalDate = true;
Sync = "All";
};
2025-02-06 13:56:58 -05:00
};
msmtp.enable = true;
flavor = "fastmail.com";
passwordCommand = "rbw get mu4e-fastmail";
2025-03-26 12:06:14 -04:00
thunderbird.enable = true;
2025-02-06 13:56:58 -05:00
};
"admin@studyoftime.org" = {
address = "admin@studyoftime.org";
realName = "ISST Web Admin";
mu.enable = true;
mbsync = {
enable = true;
2025-03-19 16:54:42 -04:00
create = "both";
extraConfig.channel = {
CopyArrivalDate = true;
};
2025-02-06 13:56:58 -05:00
};
msmtp.enable = true;
passwordCommand = "rbw get admin@studyoftime";
imap.host = "imap.dreamhost.com";
smtp.host = "imap.dreamhost.com";
userName = "admin@studyoftime.org";
2025-03-26 12:06:14 -04:00
thunderbird.enable = true;
};
"m.nishlapidus@utoronto.ca" = {
address = "m.nishlapidus@utoronto.ca";
realName = "Matt Nish-Lapidus";
imap.host = "outlook.office365.com";
imap.port = 993;
smtp.host = "smtp.office365.com";
smtp.port = 587;
userName = "m.nishlapidus@utoronto.ca";
thunderbird.enable = true;
2025-02-06 13:56:58 -05:00
};
};
};
programs = {
mu.enable = true;
mbsync = {
enable = true;
};
msmtp.enable = true;
2025-03-26 12:06:14 -04:00
thunderbird = {
enable = true;
package = pkgs.thunderbird-latest;
profiles.emenel = {
isDefault = true;
};
};
2025-02-06 13:56:58 -05:00
};
}