mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	added lenovo thinkpad p43s
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							be7794e5a6
						
					
				
				
					commit
					a3f63440fc
				
			
							
								
								
									
										22
									
								
								lenovo/thinkpad/p43s/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								lenovo/thinkpad/p43s/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
{ lib, config, ... }: {
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../.
 | 
			
		||||
    ../../../common/cpu/intel
 | 
			
		||||
    ../../../common/pc/laptop/ssd
 | 
			
		||||
    ../../../common/gpu/nvidia/pascal
 | 
			
		||||
    ../../../common/gpu/nvidia/prime-sync.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware = {
 | 
			
		||||
    graphics.enable = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
    nvidia = {
 | 
			
		||||
      prime = {
 | 
			
		||||
        intelBusId = lib.mkDefault "PCI:0:2:0";
 | 
			
		||||
        nvidiaBusId = lib.mkDefault "PCI:60:0:0";
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      powerManagement.enable = lib.mkDefault config.hardware.nvidia.prime.sync.enable;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user