Skip to content

Commit 8972e65

Browse files
authored
framework/13-inch/intel-core-ultra-series1: revert #1358 (fix intel_vpu firmware error -2)
1 parent 9368056 commit 8972e65

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

framework/13-inch/intel-core-ultra-series1/default.nix

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,6 @@
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
}

0 commit comments

Comments
 (0)