From 9c9f467d4931dcc577221d847e108458936179f8 Mon Sep 17 00:00:00 2001 From: NullCube Date: Sat, 19 Jul 2025 21:28:15 -0700 Subject: [PATCH] installer/nixos-generate-config: remove broadcom_sta Resolves the installer failing on devices that include this hardware, as broadcom_sta was marked as insecure due to being unmaintained and having active CVE's. This commit be reverted when/if the installer has a mechanism for allowing insecure packages. --- .../installer/tools/nixos-generate-config.pl | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 1799ba2c5d97..3302fdce80ac 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -171,21 +171,6 @@ sub pciCheck { } } - # broadcom STA driver (wl.ko) - # list taken from http://www.broadcom.com/docs/linux_sta/README.txt - if ($vendor eq "0x14e4" && - ($device eq "0x4311" || $device eq "0x4312" || $device eq "0x4313" || - $device eq "0x4315" || $device eq "0x4327" || $device eq "0x4328" || - $device eq "0x4329" || $device eq "0x432a" || $device eq "0x432b" || - $device eq "0x432c" || $device eq "0x432d" || $device eq "0x4353" || - $device eq "0x4357" || $device eq "0x4358" || $device eq "0x4359" || - $device eq "0x4331" || $device eq "0x43a0" || $device eq "0x43b1" - ) ) - { - push @modulePackages, "config.boot.kernelPackages.broadcom_sta"; - push @kernelModules, "wl"; - } - # broadcom FullMac driver # list taken from # https://wireless.wiki.kernel.org/en/users/Drivers/brcm80211#brcmfmac