[Altair] Adds Thunderbird email, protonmail bridge. [Nix] Fixes deprecated expressions
This commit is contained in:
23
home-manager/features/email.nix
Normal file
23
home-manager/features/email.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
_: {
|
||||
# Proton Mail is fully encrypted on the servers so it doesn't support POP3 or
|
||||
# IMAP. In order to connect we need to set up a bridge that will download
|
||||
# the mail and decrypt it locally.
|
||||
services.protonmail-bridge.enable = true;
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
|
||||
profiles.drew = {
|
||||
isDefault = true;
|
||||
accountsOrder = [ "proton" ];
|
||||
};
|
||||
};
|
||||
|
||||
accounts.email.accounts.proton = {
|
||||
enable = true;
|
||||
primary = true;
|
||||
address = "drew@blazestar.net";
|
||||
realName = "Drew Haven";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user