nix-cfg/hosts/laptop/email.nix

72 lines
No EOL
1.5 KiB
Nix

{
accounts.email.accounts = {
"lgm-disroot" = {
primary = true;
address = "lgmrszd@disroot.org";
userName = "lgmrszd@disroot.org";
realName = "Lgmrszd";
gpg = {
key = "D3067BE844D3FC49535A47B29396B8BA6FBB14DE";
signByDefault = true;
};
imap = {
host = "disroot.org";
port = 993;
tls.enable = true;
};
smtp = {
host = "disroot.org";
port = 465;
tls.enable = true;
};
thunderbird = {
enable = true;
profiles = [
"lgmrszd"
];
};
};
"lgm-gmail" = {
address = "lgmrszd@gmail.com";
userName = "lgmrszd@gmail.com";
realName = "Lgmrszd";
flavor = "gmail.com";
thunderbird = {
enable = true;
profiles = [
"lgmrszd"
];
};
};
"lgm@lgmrszd.xyz" = {
address = "lgm@lgmrszd.xyz";
aliases = [
"lgmrszd@$lgmrszd.xyz"
"postmaster@$lgmrszd.xyz"
"abuse@$lgmrszd.xyz"
"admin@$lgmrszd.xyz"
];
userName = "lgm@lgmrszd.xyz";
realName = "Lgmrszd";
flavor = "plain";
imap = {
host = "mail.lgmrszd.xyz";
port = 993;
tls.enable = true;
};
smtp = {
host = "mail.lgmrszd.xyz";
port = 465;
tls.enable = true;
};
thunderbird = {
enable = true;
profiles = [
"lgmrszd"
];
};
};
};
}