mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	Add Lenovo Legion 5 Pro Gen 6
This commit is contained in:
		
							
								
								
									
										18
									
								
								lenovo/legion/16ach6h/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								lenovo/legion/16ach6h/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{ lib, config, ... }:
 | 
			
		||||
let kernelPackages = config.boot.kernelPackages;
 | 
			
		||||
in {
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../../common/cpu/amd
 | 
			
		||||
    ../../../common/gpu/amd
 | 
			
		||||
    ../../../common/gpu/nvidia/prime.nix
 | 
			
		||||
    ../../../common/pc/laptop
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware.nvidia.prime = {
 | 
			
		||||
    amdgpuBusId = "PCI:6:0:0";
 | 
			
		||||
    nvidiaBusId = "PCI:1:0:0";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.thermald.enable = lib.mkDefault true;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user