mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 01:07:14 +08:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							f140ca626b
						
					
				
				
					commit
					ae13b3761c
				
			@@ -4,14 +4,9 @@
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../thinkpad/yoga.nix
 | 
			
		||||
    ../../../../common/gpu/amd/default.nix
 | 
			
		||||
    ../../../../common/gpu/24.05-compat.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.initrd.kernelModules = [ "ideapad_laptop" ];
 | 
			
		||||
  hardware.graphics.extraPackages = with pkgs; [
 | 
			
		||||
    vaapiVdpau
 | 
			
		||||
    libvdpau-va-gl
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # latest kernel needed to make wifi work
 | 
			
		||||
  boot.kernelPackages =  lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user