main & thunderbird

This commit is contained in:
janis 2026-07-28 19:18:30 +02:00
parent 4ff2ddecf5
commit 98388ba0b4
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8
2 changed files with 66 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./desktop-apps.nix
./development
./emacs.nix
./mail.nix
./firefox.nix
./games
./git-ssh.nix

65
home/mail.nix Normal file
View file

@ -0,0 +1,65 @@
{pkgs, ...}: {
programs.thunderbird = {
enable = true;
profiles.default = {
isDefault = true;
};
};
home.packages = with pkgs; [
rofi-rbw-wayland
pinentry-rofi
wl-clipboard
];
programs.rbw = {
enable = true;
settings = {
base_url = "https://vaultwarden.nirgendwo.xyz";
email = "janis@nirgendwo.xyz";
pinentry = pkgs.pinentry-rofi;
lock_timeout = 3600;
};
};
accounts.email.accounts = {
"Janis @ GMail" = {
address = "j4nisboehm@gmail.com";
realName = "Janis Böhm";
flavor = "gmail.com";
thunderbird = {
enable = true;
profiles = [ "default" ];
};
passwordCommand = [ "rbw" "get" "j4nisboehm @ Google" ];
};
"Janis @ Nirgendwo" = {
primary = true;
address = "janis@nirgendwo.xyz";
realName = "Janis Böhm";
userName = "janis";
imap = {
host = "mail.nirgendwo.xyz";
port = 993;
tls.enable = true;
};
smtp = {
host = "mail.nirgendwo.xyz";
port = 465;
tls.enable = true;
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
passwordCommand = [ "rbw" "get" "janis @ nirgendswo.com" ];
};
};
}