Files
dotfiles/home-modules/email.nix
Lennart J. Kurzweg (Nx2) b93a75fa97 email broken
2024-04-16 18:20:09 +02:00

80 lines
1.7 KiB
Nix

{ config, pkgs, secrets, ... }:
{
home.packages = with pkgs; [
thunderbird
];
accounts.email.accounts = {
"gamil-online" = {
address = secrets.email.gmail-online.mail;
realName = "Lennart J. Kurzweg";
flavor = "gmail.com";
primary = true;
signature = {
text = ''
--
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
"gamil-business" = {
address = secrets.email.gmail-business.mail;
realName = "Lennart J. Kurzweg";
flavor = "gmail.com";
signature = {
text = ''
--
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
"hsmw" = {
address = secrets.email.hsmw.mail;
realName = "Lennart J. Kurzweg";
imap = {
port = 993;
host = "mail.hs-mittweida.de";
};
smtp = {
port = 465;
host = "mail.hs-mittweida.de";
};
signature = {
text = ''
--
MatNr: ${secrets.email.hsmw.mnr}
SemGr: ${secrets.email.hsmw.semgr}
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
};
}