nix/home-manager/modules/accounts/email.nix

82 lines
No EOL
2.1 KiB
Nix
Executable file

{ ... }:
{
accounts.email.accounts = {
PurelyMail = rec {
realName = "Tyler Beckman";
address = "ty@myriation.xyz";
userName = address;
primary = true;
folders = {
inbox = "INBOX";
drafts = "Drafts";
sent = "Sent";
trash = "Trash";
};
gpg = {
encryptByDefault = false;
signByDefault = false;
key = "A6299C20250223DCDEBA5E2C933B9437A97A56B8";
};
imap = {
host = "imap.purelymail.com";
port = 993;
tls = {
enable = true;
useStartTls = false;
};
};
smtp = {
host = "smtp.purelymail.com";
port = 465;
tls = {
enable = true;
useStartTls = false;
};
};
thunderbird.enable = true;
};
Gmail = rec {
realName = "Tyler Beckman";
address = "tbeckman530@gmail.com";
userName = address;
flavor = "gmail.com";
folders = {
inbox = "Inbox";
drafts = "Drafts";
sent = "Sent";
trash = "Trash";
};
gpg = {
encryptByDefault = false;
signByDefault = false;
key = "A6299C20250223DCDEBA5E2C933B9437A97A56B8";
};
smtp.tls.useStartTls = false;
thunderbird.enable = true;
};
School = rec {
realName = "Tyler Beckman";
address = "tyler_beckman@mines.edu";
userName = address;
flavor = "outlook.office365.com";
folders = {
inbox = "Inbox";
drafts = "Drafts";
sent = "Sent Items";
trash = "Trash";
};
};
};
}