more
This commit is contained in:
@@ -15,9 +15,18 @@
|
||||
];
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
#hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
];
|
||||
|
||||
hardware.nvidia.modesetting.enable = true; # needed for most wayland compositors
|
||||
hardware.nvidia.nvidiaSettings = true;
|
||||
#hardware.nvidia.open = true; # open source version of kernel module, only on driver 515.43.04+
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
#hardware.nvidia.modesetting.enable = true;
|
||||
#hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
#hardware.nvidia.powerManagement.enable = true; # Fix graphical corruption on suspend/resume
|
||||
|
||||
# add this to the host in question:
|
||||
#hardware.nvidia.prime = {
|
||||
@@ -27,6 +36,7 @@
|
||||
# nvidiaBusId = "PCI:1:0:0";
|
||||
#};
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; ([
|
||||
nvtop-nvidia
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
nixpkgs.config.libmfxSupport = true; # intel
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
mesa.drivers
|
||||
vaapiIntel
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
nixpkgs.config.openglSupport = true; # why is this not set by hardware.opengl.enable ?
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
nixpkgs.config.openglSupport = true;
|
||||
nixpkgs.config.vdpauSupport = true;
|
||||
nixpkgs.config.vaapiSupport = true;
|
||||
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user