1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-09 12:39:40 +01:00

common/gpu/nvidia: vaapiVdpau -> libva-vdpau-driver

This commit is contained in:
x123 2024-06-27 12:05:59 +02:00 committed by mergify[bot]
parent 901bc809b5
commit 14aadcba1a

View file

@ -3,7 +3,11 @@
{
imports = [ ../24.05-compat.nix ];
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
hardware.graphics.extraPackages = with pkgs; [
vaapiVdpau
hardware.graphics.extraPackages = [
(
if pkgs ? libva-vdpau-driver
then pkgs.libva-vdpau-driver
else pkgs.vaapiVdpau
)
];
}