feat: add proton-bridge module
This commit is contained in:
parent
c8013671bc
commit
a9fd67da3a
3 changed files with 11 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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
10
modules/proton-bridge.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue