feat(work-pc): setup Wayland with NVIDIA's GBM backend
This commit is contained in:
parent
94936f5d01
commit
594e74dd43
4 changed files with 39 additions and 2 deletions
hardware
|
@ -15,4 +15,12 @@
|
|||
extraPackages = with pkgs; [ libvdpau-va-gl vaapiVdpau ];
|
||||
extraPackages32 = with pkgs.pkgsi686Linux; [ libvdpau-va-gl vaapiVdpau ];
|
||||
};
|
||||
|
||||
# NVIDIA GBM setup
|
||||
environment.variables = {
|
||||
GBM_BACKENDS_PATH = "/run/opengl-driver/lib/gbm";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
OCL_ICD_VENDORS = "/run/opengl-driver/etc/OpenCL/vendors";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue