mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +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:
parent
a111ce6b53
commit
c5925d86de
1 changed files with 1 additions and 8 deletions
|
@ -1,13 +1,6 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
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 = [
|
|
||||||
(
|
|
||||||
if pkgs ? libva-vdpau-driver
|
|
||||||
then pkgs.libva-vdpau-driver
|
|
||||||
else pkgs.vaapiVdpau
|
|
||||||
)
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue