You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing WiFi driver while installing NixOS 16.03 on my Mac Mini 7,1 #15162
This comes from #11540 but is separated into this issue.
I installed NixOS unstable (16.03) on my Mac Mini 7,1 and have the following probem with it.
The Live CD wasn't able to provide me with WiFi. I guess the Live CD doesn't come with the needed drivers for my WiFI card (BCM4360 14e4:43a0) which are commercial :-( -> broadcom_sta
I resolved my problem by using an Ethernet connection, after the installation WiFi worked.
Would be nice if those could be packaged with the Live CD.
The pkg "pkgs.broadcom_sta" in NixOS configuration should do it, but I'm not sure if we're allowed to distribute it. Does wifi work with other live cds?
IIRC it is redistributable (and there are very few drivers that aren't).
We have a policy that Hydra doesn't build anything depending on unfree stuff, including the ISOs. Maybe we might make an exception for redistributable drivers?
My friend suffered from the same issue. He has the same Wi-Fi card (BCM4360 14e4:43a0), and the network doesn't work on the Live CD. Unfortunately, he has no Ethernet...
b43 driver failed with:
b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
b43: probe of bcma0:1 failed with error -95
So I ended up packing a custom Live CD with the broadcom_sta. Can confirm it works fine.
broadcom_sta should be able to just go into hardware.firmware in nixos/modules/hardware/all-firmware.nix. The biggest issue though is that we want to use open source drivers when they are available.
BCM4313, BCM43224 and BCM43225 are supported by brcmsmac (already included)
BCM4311, BCM4312, BCM4321, BCM4322 and BCM4331 are supported by b43 (already included)
That leaves BCM43227 BCM43228 BCM43142 BCM43142 and BCM4360 that will need the broadcom provided "sta" driver. I don't know if there is a way to let only enable it for certain hardware?
While we're at it, can we see if there is any other nonfree wifi drivers that should be included?
Hello! I want to try nixos on my laptop. Unfortunately, I have BCM43142 WiFi module, which is not working without proprietary drivers. I suppose, broadcom_sta will make it working.
But I don't have opportunity to use wired connection during installation.
Perhaps, someone can make custom installation ISO for me?
I have the same problem - a wireless card made by broadcom. However, I am able to connect via ethernet.
Can you please provide the steps to install the broadcom wireless card when connected via ethernet?
Second is even after that, now I can connect to WiFi, but cannot get to the internet, just my local network. Somehow I think default routes I believe are being incorrectly discovered, but I don't know how to fix that yet. Will update after figuring it out (or asking for help).
EDIT: OK, indeed it was incorrect default routes, running sudo ip route del default && sudo ip route add default via $MYROUTERIP lets me reach the internet now. Not sure why the LiveUSB got me working internet and the booted system didn't -- I'm no expert neither on NixOS nor networking, so this may be offtopic for this ticket, if so feel free to hide the comment, but leaving it here given as I say, this worked fine on the LiveUSB boot, and I have no other LAN devices with WiFi issues, so maybe it'll help someone else.
Second is even after that, now I can connect to WiFi, but cannot get to the internet, just my local network. Somehow I think default routes I believe are being incorrectly discovered, but I don't know how to fix that yet. Will update after figuring it out (or asking for help).
EDIT: OK, indeed it was incorrect default routes, running sudo ip route del default && sudo ip route add default via $MYROUTERIP lets me reach the internet now. Not sure why the LiveUSB got me working internet and the booted system didn't -- I'm no expert neither on NixOS nor networking, so this may be offtopic for this ticket, if so feel free to hide the comment, but leaving it here given as I say, this worked fine on the LiveUSB boot, and I have no other LAN devices with WiFi issues, so maybe it'll help someone else.
I encountered the same route problem too. For some reason, I have to let the system installed on my computer boot in legacy mode, instead of EFI. As I have tested, networkmanager with wpa_supplicant as its backend doesn't work well, but it works if you only use wpa_supplicant without networkmanager. However, simply using wpa_supplicant without a gui front-end(wpa_gui doesn't work on my computer) isn't a good idea for me.
I solved the problem by using iwd as the backend of networkmanager instead. Add the following code in your configuration.nix and everything will work perfectly! networking.networkmanager.wifi.backend = "iwd"
NOTE: The system installed on my computer boots in legecy mode, but I boot the LiveCD in EFI mode. If your computer boots in EFI mode, you'll probably NOT encounter those problems.
I tried to build a new minimal image for x86_64-linux for 25.05 with Broadcom drivers, but it seems that the default tmpfs is not big enough, which opens a new can of worms.
If anyone can post the custom iso for 25.05 for x86_64 it would be greatly appreciated...
(isn't there some online tool that we could use to build custom config like this ? )
PS : bluetooth tethering with the graphical 25.11 install is the simplest way to make the wifi works (with plain configuration.nix changes)
Just ran into this trying to install on an intel 2012 mac mini, the driver must still not be included by default. I am only able to use wired connection.
wpa_supplicant shows the only drivers available are:
nl80211
wext
wired
macsec_linux
With both apple and nixpkgs discontinuing support for x86_64-darwin, it would be great if we added the necessary wifi drivers so that this is no longer an issue.
Releases use latest stable and check for changes monthly. They are released using ghcr because ISOs are too big and compression can't get them small enough, and I am too lazy to host them. Feel free to ping me in an issue there if you have problems.
Also fair warning, broadcom_sta is insecure, but I'm not aware of a better solution if it exists.
EDIT: Not currently working, will report back once I figure out why.
Ok so I think gdm just doesn't want to play nice so Gnome is going straight to black screen. But plasma 6 does get you past that point, unfortunately though, adding the broadcom_sta settings from the manual don't seem to help. It still can't discover wifi networks.
I tried all of the tips here in this issue, and ultimately could not get the wifi to recognize any network. The only thing that has worked is using ethernet, but this could just be an issue with intel mac minis and perhaps this will still be useful for someone else.
Activity
matthewbauer commentedon May 3, 2016
The pkg "pkgs.broadcom_sta" in NixOS configuration should do it, but I'm not sure if we're allowed to distribute it. Does wifi work with other live cds?
vcunat commentedon May 7, 2016
IIRC it is redistributable (and there are very few drivers that aren't).
We have a policy that Hydra doesn't build anything depending on unfree stuff, including the ISOs. Maybe we might make an exception for redistributable drivers?
vcunat commentedon May 7, 2016
/cc @edolstra about allow-ability of unfree drivers on Hydra.
rasendubi commentedon May 26, 2016
My friend suffered from the same issue. He has the same Wi-Fi card (BCM4360 14e4:43a0), and the network doesn't work on the Live CD. Unfortunately, he has no Ethernet...
b43 driver failed with:
So I ended up packing a custom Live CD with the broadcom_sta. Can confirm it works fine.
I've checked up broadcom_sta is unfreeRedistributable (https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/broadcom-sta/default.nix#L45), so it would be nice to include it in the default image.
matthewbauer commentedon May 27, 2016
broadcom_sta should be able to just go into hardware.firmware in nixos/modules/hardware/all-firmware.nix. The biggest issue though is that we want to use open source drivers when they are available.
according to https://wiki.debian.org/wl:
That leaves BCM43227 BCM43228 BCM43142 BCM43142 and BCM4360 that will need the broadcom provided "sta" driver. I don't know if there is a way to let only enable it for certain hardware?
While we're at it, can we see if there is any other nonfree wifi drivers that should be included?
rasendubi commentedon Jun 11, 2016
Any update on this?
rasendubi commentedon Sep 9, 2016
The issue seems to be waiting on @edolstra's input
rasendubi commentedon Oct 29, 2016
(triage) @domenkozar, could you look into this?
vitvakatu commentedon Apr 10, 2017
Hello! I want to try nixos on my laptop. Unfortunately, I have BCM43142 WiFi module, which is not working without proprietary drivers. I suppose,
broadcom_stawill make it working.But I don't have opportunity to use wired connection during installation.
Perhaps, someone can make custom installation ISO for me?
rasendubi commentedon Apr 10, 2017
@vitvakatu here you go!
NixOS minimal (330M)
NixOS graphical KDE (806M)
Built from https://github.com/rasendubi/nixpkgs/tree/nixos-broadcom-sta,
nixosdirectory.vitvakatu commentedon Apr 10, 2017
@rasendubi Thank you so much! I successfully installed it :)
kyp0717 commentedon Sep 7, 2017
I have the same problem - a wireless card made by broadcom. However, I am able to connect via ethernet.
Can you please provide the steps to install the broadcom wireless card when connected via ethernet?
26 remaining items
Julian commentedon Dec 1, 2021
In case anyone else has the same issue, after #15162 (comment) I still have some remaining issues trying to install on a Mac (an iMac in my case).
WiFi in the live USB works fine, but in the installed system I still can't get it to work. First one is a silly one, which is if you find you have no WiFi adapter found by Gnome after the install, you have to make sure you remembered to add your user to the
networkmanagergroup viaextraGroups, c.f. https://nixos.org/manual/nixos/stable/#sec-user-management.Second is even after that, now I can connect to WiFi, but cannot get to the internet, just my local network. Somehow I think default routes I believe are being incorrectly discovered, but I don't know how to fix that yet. Will update after figuring it out (or asking for help).EDIT: OK, indeed it was incorrect default routes, running
sudo ip route del default && sudo ip route add default via $MYROUTERIPlets me reach the internet now. Not sure why the LiveUSB got me working internet and the booted system didn't -- I'm no expert neither on NixOS nor networking, so this may be offtopic for this ticket, if so feel free to hide the comment, but leaving it here given as I say, this worked fine on the LiveUSB boot, and I have no other LAN devices with WiFi issues, so maybe it'll help someone else.flokli commentedon Apr 11, 2022
I wrote some docs in #168306, which should probably document this sufficiently.
nixos/doc: add notes on additional drivers or firmware
HHR2020 commentedon Apr 30, 2022
I encountered the same route problem too. For some reason, I have to let the system installed on my computer boot in legacy mode, instead of EFI. As I have tested, networkmanager with wpa_supplicant as its backend doesn't work well, but it works if you only use wpa_supplicant without networkmanager. However, simply using wpa_supplicant without a gui front-end(wpa_gui doesn't work on my computer) isn't a good idea for me.
I solved the problem by using iwd as the backend of networkmanager instead. Add the following code in your configuration.nix and everything will work perfectly!
networking.networkmanager.wifi.backend = "iwd"NOTE: The system installed on my computer boots in legecy mode, but I boot the LiveCD in EFI mode. If your computer boots in EFI mode, you'll probably NOT encounter those problems.
My machine is a MacBook Pro 12-mid.
nixos-discourse commentedon Jan 29, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/new-user-wifi-not-working-latest-nixos-with-enlightenment-de-on-imac-help-asap-appreciated/25068/2
nixos-discourse commentedon Jun 23, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/no-wifi-on-fresh-install-kde-plasma/29537/2
nrolland commentedon Aug 12, 2025
I tried to build a new minimal image for
x86_64-linuxfor 25.05 with Broadcom drivers, but it seems that the defaulttmpfsis not big enough, which opens a new can of worms.If anyone can post the custom iso for 25.05 for x86_64 it would be greatly appreciated...
(isn't there some online tool that we could use to build custom config like this ? )
PS : bluetooth tethering with the graphical 25.11 install is the simplest way to make the wifi works (with plain configuration.nix changes)
eureka-cpu commentedon Jun 24, 2026
Just ran into this trying to install on an intel 2012 mac mini, the driver must still not be included by default. I am only able to use wired connection.
eureka-cpu commentedon Jun 24, 2026
wpa_supplicantshows the only drivers available are:With both apple and nixpkgs discontinuing support for x86_64-darwin, it would be great if we added the necessary wifi drivers so that this is no longer an issue.
eureka-cpu commentedon Jun 25, 2026
For the time being if anyone finds themselves here, I have added the recommended patch from #168306 to a fork and have a release for the gnome and plasma graphical ISOs: https://github.com/eureka-cpu/nixpkgs/releases
Releases use latest stable and check for changes monthly. They are released using ghcr because ISOs are too big and compression can't get them small enough, and I am too lazy to host them. Feel free to ping me in an issue there if you have problems.
Also fair warning,
broadcom_stais insecure, but I'm not aware of a better solution if it exists.EDIT:
Not currently working, will report back once I figure out why.Ok so I think gdm just doesn't want to play nice so Gnome is going straight to black screen. But plasma 6 does get you past that point, unfortunately though, adding the
broadcom_stasettings from the manual don't seem to help. It still can't discover wifi networks.I tried all of the tips here in this issue, and ultimately could not get the wifi to recognize any network. The only thing that has worked is using ethernet, but this could just be an issue with intel mac minis and perhaps this will still be useful for someone else.