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

82 lines
2.1 KiB
Nix
Raw Normal View History

{ lib, ty-home-manager-options, ... }:
2024-12-02 03:57:34 -07:00
{
accounts.email.accounts = lib.mkIf ty-home-manager-options.thunderbird.enable {
2024-12-02 03:57:34 -07:00
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";
};
};
};
}