mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 09:17:14 +08:00 
			
		
		
		
	fix: enable enableRedistributableFirmware on framework 13 intel core
This commit is contained in:
		@@ -20,6 +20,9 @@
 | 
			
		||||
    lib.mkDefault pkgs.linuxPackages_latest
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  # NPU, GPU
 | 
			
		||||
  hardware.enableRedistributableFirmware = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  # Intel NPU Driver
 | 
			
		||||
  # https://discourse.nixos.org/t/new-installation-on-asus-zenbook-ux5406-intel-vpu-firmware-error-2/58732/2
 | 
			
		||||
  hardware.firmware = lib.optionals (config.hardware.enableRedistributableFirmware) [
 | 
			
		||||
@@ -40,10 +43,6 @@
 | 
			
		||||
    )
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  warnings = lib.mkIf (!config.hardware.enableRedistributableFirmware) [
 | 
			
		||||
    ''For Intel NPU support, set the option: hardware.enableRedistributableFirmware = true;''
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  hardware.framework.laptop13.audioEnhancement.rawDeviceName =
 | 
			
		||||
    lib.mkDefault "alsa_output.pci-0000_00_1f.3.analog-stereo";
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user