mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	acpi_call is required to use tlp on lenovo thinkpad x270 and some x270 have an ssd. Therefor, acpi_call and ssd have been added to the lenovo thinkpad x270 hardware config.
		
			
				
	
	
		
			14 lines
		
	
	
		
			251 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			251 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  imports = [
 | 
						|
    ../.
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop/acpi_call.nix
 | 
						|
    ../../../common/pc/laptop/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  boot.kernelParams = [
 | 
						|
    # Disable "Panel Self Refresh".  Fix random freezes.
 | 
						|
    "i915.enable_psr=0"
 | 
						|
  ];
 | 
						|
}
 |