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