dotfiles/modules/apps/email.nix

20 lines
688 B
Nix
Raw Normal View History

2021-10-10 11:58:25 +02:00
{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = { home.packages = with pkgs; [ thunderbird ]; };
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [ protonmail-bridge ];
systemd.user.services.protonmail-bridge = {
description = "Protonmail Bridge";
enable = true;
script =
"${pkgs.protonmail-bridge}/bin/protonmail-bridge --log-level debug";
path = [
pkgs.gnome3.gnome-keyring
]; # HACK: https://github.com/ProtonMail/proton-bridge/issues/176
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
networking.firewall.allowedTCPPorts = [ 33728 1025 1143 ];
}