Skip to content

data: Fix wayland disabling on hybrid nvidia machines

Ray Strode requested to merge nvidia-hybrid-fix into master

commit 9ecf8399 was supposed to make sure vendor nvidia users on hybrid systems kept getting Xorg by default.

Unfortunately, I misunderstood the scope of environment changes, and so the rules don't work as designed.

This commit drops the use of environment and instead just checks for /sys/module/nvidia_drm directly.

Merge request reports