mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			219 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			219 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, pkgs, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  boot = {
 | 
						|
    extraModprobeConfig = ''
 | 
						|
      options bbswitch use_acpi_to_detect_card_state=1
 | 
						|
    '';
 | 
						|
    kernelModules = [ "tpm-rng" ];
 | 
						|
  };
 | 
						|
 | 
						|
  services.xserver.videoDrivers = [ "intel" ];
 | 
						|
}
 |