Nvidia specific lines for nixy.

This commit is contained in:
jay
2025-07-09 07:54:23 -04:00
parent 9497aacb4d
commit b07d76f877

View File

@@ -0,0 +1,13 @@
{ pkgs, ... }: {
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";
};
};
}