mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Nvidia] force GBM to use Nvidia
This commit is contained in:
parent
4ef337de7a
commit
b3f9af9be1
1 changed files with 3 additions and 0 deletions
|
|
@ -152,6 +152,9 @@ in {
|
|||
|
||||
# Undocumented, fix for EGL not being found by Nvidia driver: https://github.com/NVIDIA/egl-wayland/issues/39#issuecomment-927288015
|
||||
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS = "/run/opengl-driver/share/egl/egl_external_platform.d";
|
||||
|
||||
# Improves Wayland
|
||||
"GBM_BACKEND" = "nvidia-drm";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue