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:
parent
f140ca626b
commit
ae13b3761c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue