I’m trying to install NixOS booting from a usb. After booting it up I can’t get any network access. I can see the network card using lspci
but using ip a
it only shows loopback device.
[nixos@nixos:~]$ lspci | grep Network
02:00.0 Network controller: Intel Corporation Devices 2732 (rev 1a)
I’ve done a bit of googling and the closest I’ve found was this issue in GitHub mentioning about using the hardware.enableRedistributableFirmware
option, but this would only seem to work if the OS is already installed and not during the installation stage. I’ve tried adding the option in /etc/nixos/configuration.nix
and then doing a nixos-rebuild switch
but this just gives me a network error and just sits there forever.
Is there a way I enable the firmware so I can get network connection? I’m installing on a laptop which has no ethernet ports.