2024-05-14 13:48:01 +02:00
|
|
|
{ pkgs, config, ... }: {
|
|
|
|
programs.aerc = {
|
|
|
|
extraConfig.general.unsafe-accounts-conf = true;
|
2024-03-22 14:24:31 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
accounts.email.accounts =
|
|
|
|
let
|
2024-05-14 13:48:01 +02:00
|
|
|
aerc = { enable = true; };
|
2024-03-22 14:24:31 +01:00
|
|
|
in {
|
|
|
|
"ens" = {
|
|
|
|
primary = true;
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "lubin.bailly@ens.psl.eu";
|
|
|
|
realName = "Lubin Bailly";
|
|
|
|
userName = "lbailly";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "Lubin Bailly";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/clipper";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "clipper.ens.psl.eu";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "clipper.ens.psl.eu";
|
|
|
|
port = 465;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"katmail" = {
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "catvayor@katvayor.net";
|
|
|
|
realName = "catvayor";
|
|
|
|
userName = "catvayor@katvayor.net";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "catvayor";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/mails-kat";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "ssl0.ovh.net";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "ssl0.ovh.net";
|
|
|
|
port = 465;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"dgnum" = {
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "catvayor@dgnum.eu";
|
|
|
|
realName = "catvayor";
|
|
|
|
userName = "catvayor@dgnum.eu";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "catvayor";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/mails-dgnum";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "kurisu.lahfa.xyz";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "kurisu.lahfa.xyz";
|
|
|
|
port = 587;
|
|
|
|
tls.enable = true;
|
|
|
|
tls.useStartTls = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"gmail.geek" = {
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "lubin.geek@gmail.com";
|
|
|
|
realName = "Lubin Bailly";
|
|
|
|
userName = "lubin.geek@gmail.com";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "Lubin Bailly";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/geek.gle";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "imap.gmail.com";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "smtp.gmail.com";
|
|
|
|
port = 465;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"gmail.pro" = {
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "lubin.bailly@gmail.com";
|
|
|
|
realName = "Lubin Bailly";
|
|
|
|
userName = "lubin.bailly@gmail.com";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "Lubin Bailly";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/pro.gle";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "imap.gmail.com";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "smtp.gmail.com";
|
|
|
|
port = 465;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"laposte" = {
|
2024-05-14 13:48:01 +02:00
|
|
|
inherit aerc;
|
2024-03-22 14:24:31 +01:00
|
|
|
address = "lubin-bailly@laposte.net";
|
|
|
|
realName = "Lubin Bailly";
|
|
|
|
userName = "lubin-bailly";
|
|
|
|
signature = {
|
|
|
|
delimiter = "--";
|
|
|
|
showSignature = "append";
|
|
|
|
text = "Lubin Bailly";
|
|
|
|
};
|
2024-05-14 13:48:01 +02:00
|
|
|
passwordCommand = "cat /run/agenix/mails-laposte";
|
2024-03-22 14:24:31 +01:00
|
|
|
imap = {
|
|
|
|
host = "imap.laposte.net";
|
|
|
|
port = 993;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
smtp = {
|
|
|
|
host = "smtp.laposte.net";
|
|
|
|
port = 465;
|
|
|
|
tls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|