Realtek 8125b networking issues

I’m having an issue with the Realtek 8125b network chipset on my MB. It worked fine in windows but when i swapped to nixos i started having connection issues. My connection is wired. Every 2 to 6 hours my connection just stops working. It says it’s fully connected but just drops all packets.

From what i can find online, it’s that I’m using the wrong driver (r8169) and it has issues supporting that chipset at the 2.5G link i have. I seen recommendation to use the r8125 driver but im not sure how i configure nixos to do this.

I’ve check the package search and it has bunch of entries for it. i just don’t know what i need to do in my configuration file to get it to use the right driver.

Update:
found how to install the driver, the connection issue still happens. have ordered a PCIe network card with an intel chipset. hopefully that works

The RTL 8125B networking chipset is known to have connection issues and has a lot of discussion online. I don’t own a computer with this chipset but I can tell you one thing, the r8169 driver is the correct driver. There is no r8125 driver.

One recommendation was to check the power saving settings of your laptop/computer. Other than that, I can’t be of much help as I don’t own a computer with RTL8125B chipset, sorry.

Yeah tried disabling eee, no luck. I thought there wasn’t one either but if you blacklist the the 8169 the 8125 shows right up.

Got a network card with an intel chipset which so far seems stable, planning on updating that post in a couple of days with how it turns out