wip
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
NVD_BACKEND = "direct";
|
||||
EGL_PLATFORM = "wayland";
|
||||
VDPAU_DRIVER = "va_gl";
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
@@ -23,19 +24,33 @@
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
||||
# driSupport = true;
|
||||
# driSupport32bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
intel-vaapi-driver
|
||||
libvdpau-va-gl
|
||||
vulkan-validation-layers
|
||||
];
|
||||
};
|
||||
|
||||
# environment.variables.VDPAU_DRIVER = "va_gl";
|
||||
# environment.variables.LIBVA_DRIVER_NAME = "nvidia";
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
# prime = {
|
||||
# offload = {
|
||||
# enable = true;
|
||||
# enableOffloadCmd = true;
|
||||
# };
|
||||
# intelBusId = "PCI:0:2:0";
|
||||
# nvidiaBusId = "PCI:1:0:0";
|
||||
# };
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user