more nvidia shit II

This commit is contained in:
cnst
2024-09-22 18:27:37 +02:00
parent dcc6c2da5c
commit 0e3b604af5
2 changed files with 4 additions and 3 deletions

View File

@@ -27,7 +27,7 @@
GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
NVD_BACKEND = "direct";
VK_DRIVER_FILES = "/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json";
EGL_PLATFORM = "wayland";
};
};
# disable manuals as nmd fails to build often

View File

@@ -29,6 +29,9 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
egl-wayland
];
hardware = {
graphics = {
enable = true;
@@ -40,9 +43,7 @@ in {
libvdpau-va-gl
intel-media-driver
nvidia-vaapi-driver
nvidia-offload
vulkan-tools
egl-wayland
];
extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiVdpau