I have added the driver into my configuration on my computer running the NixOs-unstable. However, it seems that there’s no effect at all.
According to other related topics, I guess this question may has been around for a while. And unfortunately, for some reason I can’t submit an issue on the GitHub by myself.
I will probably write more details afterwards.
So sad to not be able to use the Wi-Fi adapter
NobbZ
April 12, 2022, 5:56pm
2
When you are using the non default realtek modules, you have to disable the default one explicitly by blacklisting it for modprobe
:
pkgs,
lib,
...
}: {
nix.allowedUnfree = ["b43-firmware" "zerotierone"];
nixpkgs.config.contentAddressedByDefault = false;
# nix.useSandbox = false;
nix.package = pkgs.nix_2_4;
boot.blacklistedKernelModules = ["rtl8xxxu"];
boot.extraModulePackages = with config.boot.kernelPackages; [
rtl8192eu
];
# boot.kernelPackages = pkgs.linuxPackages_4_19;
boot.kernel.sysctl = {
"vm.swappiness" = 75;
};
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
Almost the same condition as
@marius851000 @NobbZ I tried both of your suggestions but no luck. The lights on the adapter don’t even light up when I plug it into my linux machine. I’m not sure exactly what that means but I thought it was something worth noting.
By the way, the adapter used to work well on the Manjaro, both of the Wi-Fi and the Bluetooth.
@NobbZ solved something similar here.
Hi everybody,
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.
sudo insmod /nix/store/br…2bu-5.10.66-unstable-20…
might gleam clues…might not.