diff --git a/nodes/hosts/nixy/system/environment.nix b/nodes/hosts/nixy/system/environment.nix new file mode 100644 index 0000000..530d7fa --- /dev/null +++ b/nodes/hosts/nixy/system/environment.nix @@ -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"; + }; + }; +}