nix-config/users/tacocat/email.nix
2023-12-21 01:37:09 -05:00

52 lines
1.1 KiB
Nix

{...}: {
accounts.email.accounts = {
"aria" = {
address = "aria@chytrid.org";
userName = "aria@chytrid.org";
realName = "Aria Nolan";
primary = true;
thunderbird.enable = true;
smtp = {
host = "mail.nordhost.no";
port = 465;
};
imap = {
host = "mail.nordhost.no";
port = 993;
};
};
"tacocat" = {
address = "tacocat@chytrid.org";
userName = "tacocat@chytrid.org";
realName = "tacocat";
thunderbird.enable = true;
smtp = {
host = "mail.nordhost.no";
port = 465;
};
imap = {
host = "mail.nordhost.no";
port = 993;
};
};
"school" = {
address = "bfn1292@g.rit.edu";
realName = "Aria Nolan";
flavor = "gmail.com";
thunderbird = {
enable = true;
settings = id: {
"mail.server.server_${id}.authMethod" = 10;
};
};
};
};
programs.thunderbird = {
enable = true;
profiles."aria" = {
isDefault = true;
};
};
}