fix(protonmail): start bridge from hyprland conf to have access to keyring
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-12 16:09:06 -05:00
parent 8a4822c27c
commit 395ae79d61
4 changed files with 2 additions and 12 deletions

View file

@ -9,7 +9,6 @@ in {
../../modules/hyprland ../../modules/hyprland
../../modules/kmscon.nix ../../modules/kmscon.nix
../../modules/printer.nix ../../modules/printer.nix
../../modules/proton-bridge.nix
../../modules/razer.nix ../../modules/razer.nix
../../modules/sshd.nix ../../modules/sshd.nix
../../modules/tailscale.nix ../../modules/tailscale.nix

View file

@ -10,7 +10,6 @@ in {
../../modules/kmscon.nix ../../modules/kmscon.nix
../../modules/plymouth.nix ../../modules/plymouth.nix
../../modules/printer.nix ../../modules/printer.nix
../../modules/proton-bridge.nix
../../modules/tailscale.nix ../../modules/tailscale.nix
./modules/security.nix ./modules/security.nix

View file

@ -28,6 +28,7 @@ in {
# Apps # Apps
thunderbird # TODO: use programs.thunderbird thunderbird # TODO: use programs.thunderbird
protonmail-bridge
spotifywm spotifywm
photoqt photoqt
nextcloud-client nextcloud-client
@ -62,6 +63,7 @@ in {
"wl-paste --watch cliphist store" "wl-paste --watch cliphist store"
"sleep 3; nextcloud --background" "sleep 3; nextcloud --background"
"sleep 3; protonmail-bridge --noninteractive --log-level info"
"[workspace special:thunder silent] thunderbird" "[workspace special:thunder silent] thunderbird"
"[workspace special:spot silent] spotify" "[workspace special:spot silent] spotify"

View file

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