mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			582 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			582 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
let
 | 
						|
  thermald-conf = ./thermald-conf.xml;
 | 
						|
in
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop
 | 
						|
    ../../../common/pc/laptop/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  # Boot loader
 | 
						|
  boot.kernelParams = lib.mkDefault [ "acpi_rev_override" ];
 | 
						|
 | 
						|
  # This will save you money and possibly your life!
 | 
						|
  services.thermald.enable = lib.mkDefault true;
 | 
						|
 | 
						|
  # Thermald doesn't have a default config for the 9500 yet, the one in this repo
 | 
						|
  # was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
 | 
						|
  services.thermald.configFile = lib.mkDefault thermald-conf;
 | 
						|
}
 |