mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			484 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			484 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop
 | 
						|
    ../../../common/pc/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  # Essential Firmware
 | 
						|
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
						|
 | 
						|
  # Cooling Management
 | 
						|
  services.thermald.enable = lib.mkDefault true;
 | 
						|
 | 
						|
  services.xserver = {
 | 
						|
    # GPU Driver Setting
 | 
						|
    videoDrivers = lib.mkDefault [ "intel" ];
 | 
						|
 | 
						|
    # Touchpad
 | 
						|
    libinput.touchpad.tapping = true;
 | 
						|
    libinput.touchpad.tappingDragLock = true;
 | 
						|
  };
 | 
						|
}
 |