Wayland forcing env vars

This commit is contained in:
Nathan McCarty 2023-06-16 20:20:31 -04:00
parent f018b1b916
commit 74b502737c
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 5 additions and 0 deletions

View File

@ -68,7 +68,12 @@ in with lib; {
recommendedEnvironment = true; recommendedEnvironment = true;
systemdIntegration = false; systemdIntegration = false;
extraConfig = '' extraConfig = ''
# Set environment variables to force wayland
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = GDK_BACKEND,"wayland,x11"
env = QT_QPA_PLATFORM,"wayland;xcb"
env = SDL_VIDEODRIVER,wayland
env = CLUTTER_BACKEND,wayland
input { input {
kb_layout = us kb_layout = us
kb_variant = kb_variant =