Compare commits
5 Commits
3dd54609e4
...
ec11f6ec7f
Author | SHA1 | Date | |
---|---|---|---|
ec11f6ec7f | |||
abd54dac68 | |||
f6a044036b | |||
46c3134e6b | |||
d0432eb17b |
@ -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
|
||||
|
104
modules/home-manager/thunderbird.nix
Normal file
104
modules/home-manager/thunderbird.nix
Normal file
@ -0,0 +1,104 @@
|
||||
{...}: {
|
||||
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;
|
||||
};
|
||||
"luhbots" = {
|
||||
address = "max.kaenner@luhbots.de";
|
||||
userName = "max.kaenner@luhbots.de";
|
||||
realName = "Max Känner";
|
||||
imap = {
|
||||
host = "luhbots.de";
|
||||
port = 993;
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = false;
|
||||
};
|
||||
};
|
||||
smtp = {
|
||||
host = "luhbots.de";
|
||||
port = 587;
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
"gymstolz" = {
|
||||
address = "max.kaenner@gym-stolz.de";
|
||||
userName = "max.kaenner";
|
||||
realName = "Max Känner";
|
||||
imap = {
|
||||
host = "gym-stolz.de";
|
||||
port = 143;
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
smtp = {
|
||||
host = "gym-stolz.de";
|
||||
port = 587;
|
||||
tls = {
|
||||
enable = true;
|
||||
useStartTls = true;
|
||||
};
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user