{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" ]; }; }; }