Wifi connected but no internet when install new Nixos

Hi, I’m trying to install nixos on my laptop cause my old build borked for some reason.
I’m using:

  • Nixos iso 24.11 plasma desktop 64bit intel/amd
  • Realtek wifi card: when I ran lspci -nnk | grep -A2 0280 the driver is rtw89_8852ce, which is the same driver as in my Fedora 42
    I’m connect to the same wifi both on my Fedora 42 and Nixos live iso, so I don’t think it’s a wifi problem ( I’m not smart enough so I could totally be wrong tho )
    Thank you in advance!

I finally fixed this by setting DNS server to 8.8.8.8/8.8.4.4.
I don’t know why the problem exist but here’s what I know:

  • The nameserver was initially set to 191.1.x.x. Where as fedora nameserver was 127.0.0.53
  • My wifi is set up as: machine > access point (mesh router) > router > internet

I would love to learn more about why this happens. Please let me know if you have an idea why :pray: