{ ... }: { environment = { variables = { # Required to run the correct GBM backend for nvidia GPUs on wayland GBM_BACKEND = "nvidia-drm"; # Apparently, without this nouveau may attempt to be used instead # (despite it being blacklisted) __GLX_VENDOR_LIBRARY_NAME = "nvidia"; # Hardware cursors are currently broken on wlroots WLR_NO_HARDWARE_CURSORS = "1"; }; }; }