Beware before upgrading to #NixOS 26.05. Networking may be broken depending on y...
Abhinav 🧠@abnv@fantastic.earth
Beware before upgrading to #NixOS 26.05. Networking may be broken depending on your configuration because of this bug: https://github.com/nixos/nixpkgs/issues/507838.
I upgraded my Hetzner VPS running NixOS 25.11, and suddenly it disappeared from the internet. I had to login via the online console and rollback my OS to previous generation (which is super easy to do because NixOS). Changing the network config from (previously working on 25.11):
```nix
networking.defaultGateway = "172.31.1.1";
```
to (for 26.05):
```nix
networking.defaultGateway = {
address = "172.31.1.1";
interface = "eth0";
};
```
worked.