mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Add configuration for Lenovo IdeaPad 5 Pro 16ACH6
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							35f2177d66
						
					
				
				
					commit
					58b52b0dd1
				
			
							
								
								
									
										20
									
								
								lenovo/ideapad/16ach6/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								lenovo/ideapad/16ach6/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
{ lib, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/amd
 | 
			
		||||
    ../../../common/cpu/amd/pstate.nix
 | 
			
		||||
    ../../../common/gpu/amd
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware.nvidia = {
 | 
			
		||||
    modesetting.enable = true;
 | 
			
		||||
    prime = {
 | 
			
		||||
      amdgpuBusId = "PCI:5:0:0";
 | 
			
		||||
      nvidiaBusId = "PCI:1:0:0";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user