nixos/nixos-generate-config: drop intel-npu import

Loading modules at config gen time is wrong. This should only happen for
profiles and the options should be available all the time instead.
This commit is contained in:
Martin Weinelt
2026-04-07 01:36:04 +02:00
parent e6fbe2b798
commit 44cdcdf7aa
@@ -211,7 +211,6 @@ sub pciCheck {
($device eq "0xfd3e" || $device eq "0x7d1d" || $device eq "0xad1d" ||
$device eq "0x643e" || $device eq "0xb03e"))
{
push @imports, "(modulesPath + \"/hardware/cpu/intel-npu.nix\")";
push @attrs, "hardware.cpu.intel.npu.enable = true;";
}