feat: switch to protonmail

This commit is contained in:
matt1432 2023-08-23 23:09:52 -04:00
parent 5c4fa21d8b
commit 8bfe730810
3 changed files with 16 additions and 4 deletions
nixos/cfg

View file

@ -1,6 +1,15 @@
{config, pkgs, lib, ...}:
{
systemd.user.services.protonmail-bridge = {
description = "Protonmail Bridge";
enable = true;
script = "${pkgs.protonmail-bridge}/bin/protonmail-bridge --noninteractive --log-level info";
path = [ pkgs.gnome.gnome-keyring ]; # HACK: https://github.com/ProtonMail/proton-bridge/issues/176
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
services = {
xserver = {
enable = true;