Nvidia specific lines for nixy.
This commit is contained in:
13
nodes/hosts/nixy/system/environment.nix
Normal file
13
nodes/hosts/nixy/system/environment.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user