The internal wifi on my laptop just died, so I bought a USB wifi dongle. I found one with a driver that’s available in NixOS21.05. I noticed that it wasn’t installed in the central repository of kernel module, but in /run/current-system/sw/lib/modules instead.
I found the interface name using nixos-generate-config and so I can use DHCP. But I can’t get the card to be recognized at boot, I always have to start it manually.
putting boot.kernelModules = [ “88x2bu” ]; in configuration.nix does not help. Is there something I can do? Is my problem due to the fact that this particular module is still considered unstable, or is it something basic I’m missing?
looks like I need rtl8912eu for my tp link wifi antena to work. I found this
and this patch
to have this driver available on linux systems. Nothing in the nixos package set. Can anyone point me to what kind of work is required to get this to work?
Might be that newer kernels work in the meantime, I downgraded it because of build errors sometime after the WiFi already worked. Though I also haven’t used the machine for a while now.