170 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-10 13:01:38 +01:00
parent 3dd54609e4
commit d0432eb17b
2 changed files with 61 additions and 0 deletions

View File

@ -18,6 +18,8 @@
../../modules/home-manager/git.nix
# use mpd for music
../../modules/home-manager/mpd.nix
# email config
../../modules/home-manager/thunderbird.nix
];
# Home Manager needs a bit of information about you and the paths it should

View File

@ -0,0 +1,59 @@
{...}: {
accounts.email.accounts = {
"google max" = {
address = "max.kaenner@gmail.com";
userName = "max.kaenner@gmail.com";
realName = "Max Känner";
flavor = "gmail.com";
thunderbird = {
enable = true;
settings = id: {
"mail.smtpserver.smtp_${id}.authMethod" = 10;
"mail.server.server_${id}.authMethod" = 10;
};
};
primary = true;
};
"google informatiker" = {
address = "kaenner9@gmail.com";
userName = "kaenner9@gmail.com";
realName = "Max Känner";
flavor = "gmail.com";
thunderbird = {
enable = true;
settings = id: {
"mail.smtpserver.smtp_${id}.authMethod" = 10;
"mail.server.server_${id}.authMethod" = 10;
};
};
};
"uni" = {
address = "max.kaenner@stud.uni-hannover.de";
userName = "max.kaenner@stud.uni-hannover.de";
realName = "Max Känner";
imap = {
host = "mail.stud.uni-hannover.de";
port = 993;
tls = {
enable = true;
useStartTls = false;
};
};
smtp = {
host = "smtp.uni-hannover.de";
port = 587;
tls = {
enable = true;
useStartTls = true;
};
};
thunderbird = {
enable = true;
settings = id: {
"mail.smtpserver.smtp_${id}.authMethod" = 10;
"mail.server.server_${id}.authMethod" = 10;
};
};
};
};
}