more nvidia shit II
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user