nix/home/email.nix

53 lines
1.3 KiB
Nix

{
accounts.email.maildirBasePath = ".mail";
accounts.email.accounts = {
pyrox = {
realName = "Pyrox";
userName = "pyrox@pyrox.dev";
address = "pyrox@pyrox.dev";
primary = true;
passwordCommand = "rbw get 'Migadu Anon Mailbox'";
himalaya = {
enable = false;
backend = "imap";
sender = "smtp";
settings = {
imap-passwd-cmd = "rbw get 'Migadu Anon Mailbox'";
smtp-passwd-cmd = "rbw get 'Migadu Anon Mailbox'";
};
};
mbsync = {
enable = true;
create = "both";
};
msmtp.enable = true;
mu.enable = true;
offlineimap.enable = true;
imap = {
host = "mail.pyrox.dev";
port = 993;
tls.enable = true;
tls.useStartTls = false;
};
smtp = {
host = "mail.pyrox.dev";
port = 465;
tls.enable = true;
tls.useStartTls = false;
};
thunderbird.enable = false;
signature = {
delimiter = ''
--
'';
showSignature = "append";
text = ''
Pyrox,
She/They Agender
Sysadmin, self-hoster, techie
"Why do they call it oven if you of in the cold food of out hot eat the food?"
'';
};
};
};
}