mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			479 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			479 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, ... }:
 | 
						|
 | 
						|
{
 | 
						|
  imports = [
 | 
						|
    ../../../common/cpu/intel
 | 
						|
    ../../../common/pc/laptop
 | 
						|
    ../../../common/pc/laptop/ssd
 | 
						|
  ];
 | 
						|
 | 
						|
  # Important Firmware
 | 
						|
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
						|
  
 | 
						|
  boot = {
 | 
						|
    # Kernel Panic on suspend fix, taken from ArchLinux wiki.
 | 
						|
    kernelParams = [ "acpi_enforce_resources=lax" "i915.enable_dc=0" ];
 | 
						|
    # Audio Mute LED
 | 
						|
    extraModprobeConfig = ''
 | 
						|
       options snd-hda-intel model=mute-led-gpio
 | 
						|
    '';
 | 
						|
  };
 | 
						|
}
 |