feat: add proton-bridge module

This commit is contained in:
matt1432 2023-10-15 17:44:47 -04:00
parent c8013671bc
commit a9fd67da3a
3 changed files with 11 additions and 9 deletions

View file

@ -1,15 +1,6 @@
{ pkgs, hyprland, ... }:
{
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;

View file

@ -8,6 +8,7 @@
../../modules/kmscon.nix
../../modules/plymouth.nix
../../modules/printer.nix
../../modules/proton-bridge.nix
./cfg/main.nix
./home/main.nix

10
modules/proton-bridge.nix Normal file
View file

@ -0,0 +1,10 @@
{ 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" ];
};
}