2023-01-01 21:30:41 +01:00
|
|
|
{ config, ... }:
|
|
|
|
let
|
|
|
|
gpg-default-key = "116987A8DD3F78FF8601BF4DB95E8FE6B11C4D09";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.thunderbird = {
|
|
|
|
enable = true;
|
|
|
|
profiles = {
|
|
|
|
default = {
|
|
|
|
withExternalGnupg = true;
|
|
|
|
isDefault = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
accounts.email.accounts = {
|
|
|
|
"rouven@rfive.de" = rec {
|
|
|
|
primary = true;
|
|
|
|
address = "rouven@rfive.de";
|
|
|
|
gpg.key = gpg-default-key;
|
|
|
|
realName = "Rouven Seifert";
|
|
|
|
userName = address;
|
|
|
|
imap = {
|
|
|
|
host = "pro1.mail.ovh.net";
|
|
|
|
port = 993;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "pro1.mail.ovh.net";
|
|
|
|
port = 587;
|
2023-01-02 13:18:57 +01:00
|
|
|
tls.useStartTls = true;
|
2023-01-01 21:30:41 +01:00
|
|
|
};
|
|
|
|
thunderbird.enable = true;
|
|
|
|
};
|
|
|
|
"TU Dresden" = {
|
|
|
|
address = "rouven.seifert@mailbox.tu-dresden.de";
|
|
|
|
gpg.key = gpg-default-key;
|
|
|
|
realName = "Rouven Seifert";
|
|
|
|
userName = "user\\rose159e";
|
|
|
|
imap = {
|
|
|
|
host = "msx.tu-dresden.de";
|
|
|
|
port = 993;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "msx.tu-dresden.de";
|
|
|
|
port = 587;
|
2023-01-02 13:18:57 +01:00
|
|
|
tls.useStartTls = true;
|
2023-01-01 21:30:41 +01:00
|
|
|
};
|
|
|
|
thunderbird.enable = true;
|
|
|
|
};
|
2023-01-02 18:24:25 +01:00
|
|
|
"Gmail" = rec {
|
2023-01-01 21:30:41 +01:00
|
|
|
address = "seifertrouven@gmail.com";
|
|
|
|
realName = "Rouven Seifert";
|
|
|
|
userName = address;
|
|
|
|
imap = {
|
|
|
|
host = "imap.gmail.com";
|
|
|
|
port = 993;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "smtp.gmail.com";
|
2023-01-02 13:18:57 +01:00
|
|
|
port = 465;
|
2023-01-01 21:30:41 +01:00
|
|
|
};
|
|
|
|
thunderbird.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|