diff --git a/nix/hosts/cc-ci-hetzner/networking.nix b/nix/hosts/cc-ci-hetzner/networking.nix index 6d9a629..e2c58a1 100644 --- a/nix/hosts/cc-ci-hetzner/networking.nix +++ b/nix/hosts/cc-ci-hetzner/networking.nix @@ -15,10 +15,9 @@ "185.12.64.2" ]; defaultGateway = "172.31.1.1"; - defaultGateway6 = { - address = ""; - interface = "eth0"; - }; + # No IPv6 on this Hetzner instance (link-local only) — nixos-infect emitted an empty + # defaultGateway6/ipv6.route which made network-addresses-eth0.service fail + # ("ip route add /128" with no prefix). v4-only box, so no IPv6 gateway/route declared. dhcpcd.enable = false; usePredictableInterfaceNames = lib.mkForce false; interfaces = { @@ -26,11 +25,7 @@ ipv4.addresses = [ { address = "91.98.47.73"; prefixLength = 32; } ]; - ipv6.addresses = [ - { address = "fe80::9000:8ff:fe04:152e"; prefixLength = 64; } - ]; ipv4.routes = [{ address = "172.31.1.1"; prefixLength = 32; }]; - ipv6.routes = [{ address = ""; prefixLength = 128; }]; }; }; };