Welp, I finally got a serious issue using nixos-unstable. A lot of users use it despite the name, for up-to-date packages. This is one of the worse kind of errors to have since an internet connection is crucial for troubleshooting and rebuilding nix, I feel like I’m setting up NixOS all over again.
Anyway, After rebuilding my nixos-unstable flake & then rebooting, now my ethernet doesn’t work at all and my wifi is shoddy. When I revert back to the last known working version it goes back to normal. I looked up “network manager” in nixpkgs issues: https://github.com/NixOS/nixpkgs/issues?q=networkmanager. and found a recent one about wifi delays like what I’m experiencing.
Before rebuilding, I had to disable networking.networkmanager.enable;, I found that it now enables wpa_supplicant when I had already declared iwd. I got the error message: Only one wireless daemon is allowed at the time: networking.wireless.enable and networking.wireless.iwd.enable are mutually exclusive. This is my network configuration:
networking = {
hostName = "NixOS-Desktop";
# networkmanager.enable = true;
wireless.iwd = {
enable = true;
settings.General.EnableNetworkConfiguration = true;
};
};
What should I do?
- Wait for the issue to get fixed? (assuming it will in a few days especially when other users are having relating issues)
- Use the last working generation? I want to tweak my system right now so this is very inconvenient.
- Any workarounds? Is there a way to rebuild my flake while staying on unstable and have my internet working?
- Something else?