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

common-gpu-nvidia: drop libva-vdpau-driver

libva-vdpau-driver has not seen a new release in over a decade and is a
common cause for bugs in some applications. NixOS has also been using
the now preferred nvidia-vaapi-driver since
https://github.com/NixOS/nixpkgs/pull/162660, so there isn't much reason
to keep this
This commit is contained in:
seth 2024-07-11 15:24:30 -04:00 committed by mergify[bot]
parent a111ce6b53
commit c5925d86de

View file

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