lenovo/yoga/6/13ALC6: drop video acceleration driver

Those are not useful for AMD.
According to https://wiki.nixos.org/wiki/Accelerated_Video_Playback all
we need is enabling opengl drivers.
This commit is contained in:
Jörg Thalheim 2024-06-26 08:30:58 +02:00 committed by mergify[bot]
parent f140ca626b
commit ae13b3761c

View file

@ -4,14 +4,9 @@
imports = [ imports = [
../../../thinkpad/yoga.nix ../../../thinkpad/yoga.nix
../../../../common/gpu/amd/default.nix ../../../../common/gpu/amd/default.nix
../../../../common/gpu/24.05-compat.nix
]; ];
boot.initrd.kernelModules = [ "ideapad_laptop" ]; boot.initrd.kernelModules = [ "ideapad_laptop" ];
hardware.graphics.extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
# latest kernel needed to make wifi work # latest kernel needed to make wifi work
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest; boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;