nixos-config/modules/home/email.nix

60 lines
1.4 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-04-01 15:07:24 -04:00
Expunge = "Both";
2025-03-19 16:54:42 -04:00
};
2025-02-06 13:56:58 -05:00
};
msmtp.enable = true;
flavor = "fastmail.com";
passwordCommand = "rbw get mu4e-fastmail";
};
"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-04-01 15:07:24 -04:00
Expunge = "Both";
2025-03-19 16:54:42 -04:00
};
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
};
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;
profiles.emenel = {
isDefault = true;
};
};
2025-02-06 13:56:58 -05:00
};
}