mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	asus/zephyrus/ga402x: drop redundand vdpau drivers
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							b7d8d5c788
						
					
				
				
					commit
					901bc809b5
				
			@@ -12,6 +12,7 @@ in {
 | 
			
		||||
    ## "prime.nix" loads this, aleady:
 | 
			
		||||
    # ../../../common/gpu/nvidia
 | 
			
		||||
    ../../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # NVIDIA GeForce RTX 4060 Mobile
 | 
			
		||||
@@ -26,11 +27,6 @@ in {
 | 
			
		||||
  hardware = {
 | 
			
		||||
    ## Enable the Nvidia card, as well as Prime and Offload:
 | 
			
		||||
    amdgpu.loadInInitrd = true;
 | 
			
		||||
    graphics.extraPackages = with pkgs; [
 | 
			
		||||
      # Also in nvidia/default.nix
 | 
			
		||||
      vaapiVdpau
 | 
			
		||||
      libvdpau-va-gl
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    nvidia = {
 | 
			
		||||
      modesetting.enable = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user