mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	added lenovo thinkpad p43s
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							be7794e5a6
						
					
				
				
					commit
					a3f63440fc
				
			@@ -192,6 +192,7 @@
 | 
				
			|||||||
        lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5;
 | 
					        lenovo-thinkpad-p14s-intel-gen5 = import ./lenovo/thinkpad/p14s/intel/gen5;
 | 
				
			||||||
        lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1;
 | 
					        lenovo-thinkpad-p16s-amd-gen1 = import ./lenovo/thinkpad/p16s/amd/gen1;
 | 
				
			||||||
        lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
 | 
					        lenovo-thinkpad-p16s-amd-gen2 = import ./lenovo/thinkpad/p16s/amd/gen2;
 | 
				
			||||||
 | 
					        lenovo-thinkpad-p43s = import ./lenovo/thinkpad/p43s;
 | 
				
			||||||
        lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
 | 
					        lenovo-thinkpad-p50 = import ./lenovo/thinkpad/p50;
 | 
				
			||||||
        lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
 | 
					        lenovo-thinkpad-p51 = import ./lenovo/thinkpad/p51;
 | 
				
			||||||
        lenovo-thinkpad-p52 = import ./lenovo/thinkpad/p52;
 | 
					        lenovo-thinkpad-p52 = import ./lenovo/thinkpad/p52;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										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