feat: set XDPW_PERSIST_MODE="permanent"

This commit is contained in:
2026-04-23 23:14:45 +02:00
parent c01f797e79
commit 2fcdee5d81

View File

@@ -71,6 +71,9 @@
]; ];
}; };
# honor persist_mode so electron apps don't re-prompt for screencast every login
systemd.user.services.xdg-desktop-portal-wlr.environment.XDPW_PERSIST_MODE = "permanent";
# enable ozone/wayland for electron apps so idle detection works # enable ozone/wayland for electron apps so idle detection works
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";