nixos-configs/modules/proton-bridge.nix

10 lines
414 B
Nix

{pkgs, ...}: {
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"];
};
}