File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 4949 "bcma"
5050 ] ;
5151 kernelPackages = lib . mkIf ( lib . versionOlder pkgs . linux . version "6.0" ) pkgs . linuxPackages_latest ;
52+ extraModulePackages =
53+ lib . mkIf config . hardware . broadcom . wifi . enableLegacyDriverWithKnownVulnerabilities
54+ [
55+ ( config . boot . kernelPackages . broadcom_sta . overrideAttrs ( oldAttrs : {
56+ meta = oldAttrs . meta // {
57+ knownVulnerabilities = [ ] ;
58+ } ;
59+ } ) )
60+ ] ;
5261 } ;
5362
54- extraModulePackages =
55- lib . mkIf config . hardware . broadcom . wifi . enableLegacyDriverWithKnownVulnerabilities
56- [
57- ( config . boot . kernelPackages . broadcom_sta . overrideAttrs ( oldAttrs : {
58- meta = oldAttrs . meta // {
59- knownVulnerabilities = [ ] ;
60- } ;
61- } ) )
62- ] ;
63-
6463 hardware = {
6564 bluetooth . enable = lib . mkDefault true ;
6665 } ;
You can’t perform that action at this time.
0 commit comments