mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 01:21:39 +01:00
email account setup
This commit is contained in:
parent
9dbc1f1beb
commit
dc07fe9036
3 changed files with 65 additions and 3 deletions
62
users/rouven/modules/accounts/default.nix
Normal file
62
users/rouven/modules/accounts/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ 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;
|
||||
};
|
||||
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;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
GMail = rec {
|
||||
address = "seifertrouven@gmail.com";
|
||||
realName = "Rouven Seifert";
|
||||
userName = address;
|
||||
imap = {
|
||||
host = "imap.gmail.com";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.gmail.com";
|
||||
port = 587;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,9 +2,11 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
./accounts
|
||||
./alacritty
|
||||
./awesome
|
||||
./flameshot
|
||||
./fzf
|
||||
./git
|
||||
./kdeconnect
|
||||
./neovim
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
okular
|
||||
gimp
|
||||
|
||||
|
||||
gh # github cli tool
|
||||
|
||||
# sound
|
||||
|
@ -23,12 +22,11 @@
|
|||
blueman
|
||||
|
||||
# internet
|
||||
thunderbird # TODO configure
|
||||
discord
|
||||
google-chrome
|
||||
nextcloud-client
|
||||
|
||||
# messaging
|
||||
discord
|
||||
tdesktop
|
||||
element-desktop
|
||||
whatsapp-for-linux
|
||||
|
|
Loading…
Reference in a new issue