mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 18:08:38 +08:00
common/gpu/nvidia: vaapiVdpau -> libva-vdpau-driver
This commit is contained in:
@@ -3,7 +3,11 @@
|
|||||||
{
|
{
|
||||||
imports = [ ../24.05-compat.nix ];
|
imports = [ ../24.05-compat.nix ];
|
||||||
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = [
|
||||||
vaapiVdpau
|
(
|
||||||
|
if pkgs ? libva-vdpau-driver
|
||||||
|
then pkgs.libva-vdpau-driver
|
||||||
|
else pkgs.vaapiVdpau
|
||||||
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user