mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also no longer recommands it.
		
			
				
	
	
		
			19 lines
		
	
	
		
			438 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			438 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop
 | 
						|
  ];
 | 
						|
 | 
						|
  # Force S3 sleep mode. See README.wiki for details.
 | 
						|
  boot.kernelParams = [ "mem_sleep_default=deep" ];
 | 
						|
 | 
						|
  # touchpad goes over i2c
 | 
						|
  boot.blacklistedKernelModules = [ "psmouse" ];
 | 
						|
 | 
						|
  # Allows for updating firmware via `fwupdmgr`.
 | 
						|
  services.fwupd.enable = true;
 | 
						|
 | 
						|
  # This will save you money and possibly your life!
 | 
						|
  services.thermald.enable = true;
 | 
						|
}
 |