nixos/wayland-session: force running xdg autostart for WM-only sessions

(cherry picked from commit 7b2a2824b3)
This commit is contained in:
John Titor 2024-06-01 22:30:19 +05:30
parent 00622e9fcf
commit ad1684cd48
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -20,4 +20,8 @@
};
xdg.portal.wlr.enable = wlr-portal;
# Window manager only sessions (unlike DEs) don't handle XDG
# autostart files, so force them to run the service
services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true;
}