From c5925d86de15f5939c5f0de2945fdc736b28d4b1 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 11 Jul 2024 15:24:30 -0400 Subject: [PATCH] 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 --- common/gpu/nvidia/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/common/gpu/nvidia/default.nix b/common/gpu/nvidia/default.nix index 01542ee..281e33f 100644 --- a/common/gpu/nvidia/default.nix +++ b/common/gpu/nvidia/default.nix @@ -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 - ) - ]; }