main & thunderbird
This commit is contained in:
parent
4ff2ddecf5
commit
98388ba0b4
|
|
@ -6,6 +6,7 @@
|
|||
./desktop-apps.nix
|
||||
./development
|
||||
./emacs.nix
|
||||
./mail.nix
|
||||
./firefox.nix
|
||||
./games
|
||||
./git-ssh.nix
|
||||
|
|
|
|||
65
home/mail.nix
Normal file
65
home/mail.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue