mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			400 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			400 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop
 | 
						|
    ../../../common/pc/laptop/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  boot.kernelParams = [ 
 | 
						|
    # needed for Intel Iris Xe
 | 
						|
    "i915.force_probe=46a8"
 | 
						|
    "i915.enable_guc=3"
 | 
						|
    "i915.fastboot=1"
 | 
						|
    # needed for keyboard
 | 
						|
    "i8042.dumbkbd=1" 
 | 
						|
    "i8042.nopnp=1" 
 | 
						|
  ];
 | 
						|
 | 
						|
  services.xserver.videoDrivers = lib.mkDefault [ "intel" ];
 | 
						|
}
 |