File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
framework/13-inch/intel-core-ultra-series1 Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 1717 lib . mkDefault pkgs . linuxPackages_latest
1818 ) ;
1919
20- # Intel NPU Driver
21- # https://discourse.nixos.org/t/new-installation-on-asus-zenbook-ux5406-intel-vpu-firmware-error-2/58732/2
22- hardware . firmware = lib . optionals ( config . hardware . enableRedistributableFirmware ) [
23- (
24- let
25- model = "37xx" ;
26- version = "0.0" ;
27-
28- firmware = pkgs . fetchurl {
29- url = "https://github.com/intel/linux-npu-driver/raw/v1.13.0/firmware/bin/vpu_${ model } _v${ version } .bin" ;
30- hash = "sha256-Mpoeq8HrwChjtHALsss/7QsFtDYAoFNsnhllU0xp3os=" ;
31- } ;
32- in
33- pkgs . runCommand "intel-vpu-firmware-${ model } -${ version } " { } ''
34- mkdir -p "$out/lib/firmware/intel/vpu"
35- cp '${ firmware } ' "$out/lib/firmware/intel/vpu/vpu_${ model } _v${ version } .bin"
36- ''
37- )
38- ] ;
39-
40- warnings = lib . mkIf ( ! config . hardware . enableRedistributableFirmware ) [
41- ''For Intel NPU support, set the option: hardware.enableRedistributableFirmware = true;''
42- ] ;
43-
4420 hardware . framework . laptop13 . audioEnhancement . rawDeviceName =
4521 lib . mkDefault "alsa_output.pci-0000_00_1f.3.analog-stereo" ;
4622}
You can’t perform that action at this time.
0 commit comments