elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.3k stars 214 forks source link

Hetzner Cloud IPv6 not working #173

Closed mkg20001 closed 11 months ago

mkg20001 commented 11 months ago

I've created a CAX21 instance with both ipv4 and ipv6 and ran nixos-infect

It did not generate any host-specific network config

IPv4 works fine, IPv6 address is not being detect at all

mkg20001 commented 11 months ago

networking.useNetworkd = true; doesn't solve the problem either

It needs the instructions from the wiki to work.

https://nixos.wiki/wiki/Install_NixOS_on_Hetzner_Cloud#Network_configuration

mkg20001 commented 11 months ago

Ah, wait I should've set PROVIDER=hetznercloud

During rebuild (hetzner's reinstall process) I can't add a cloud-init config so I did the curl command, which should have a big note about the PROVIDER= parameter, as that seems to be required for ipv6 to work (doNetConf)

(Or just auto-detect provider)