diff --git a/modules/system/gui.nix b/modules/system/gui.nix index 81b262d5..c997c3cc 100644 --- a/modules/system/gui.nix +++ b/modules/system/gui.nix @@ -77,7 +77,10 @@ inputs: })]; # niri module will auto enable this, disable it to avoid conflict with system ssh-agent services.gnome.gcr-ssh-agent.enable = false; + # use polkit from dms systemd.user.services.niri-flake-polkit.enable = false; + # let electron use gnome keyring https://github.com/electron/electron/issues/39789#issuecomment-3433810585 + environment.sessionVariables.GNOME_DESKTOP_SESSION_ID = "this-is-deprecated"; }) ]; }