mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	- We should not enable canTouchEfiVariables by default as this wears out the EFI storage. - We should not set systemd-boot as default. This is up to the user to decide. There are exceptions when hardware only supports specific bootloaders so.
		
			
				
	
	
		
			14 lines
		
	
	
		
			278 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			278 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel/kaby-lake
 | 
						|
    ../../../common/pc/laptop
 | 
						|
  ];
 | 
						|
 | 
						|
  boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c
 | 
						|
 | 
						|
  # This will save you money and possibly your life!
 | 
						|
  services.thermald.enable = true;
 | 
						|
}
 |