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

82 lines
2.2 KiB
Nix
Raw Normal View History

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