mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			450 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			450 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
{
 | 
						|
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel/coffee-lake
 | 
						|
    ../../../common/pc/laptop
 | 
						|
  ];
 | 
						|
 | 
						|
  # Solution to rcu_sched freezing
 | 
						|
  boot.kernelParams = [ "acpi_rev_override" ];
 | 
						|
 | 
						|
  # This will save you money and possibly your life!
 | 
						|
  # https://github.com/NixOS/nixos-hardware/pull/127
 | 
						|
  services.thermald.enable = lib.mkDefault true;
 | 
						|
 | 
						|
  hardware.graphics = {
 | 
						|
    enable = lib.mkDefault true;
 | 
						|
    enable32Bit = lib.mkDefault true;
 | 
						|
  };
 | 
						|
}
 |