elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hetzner Cloud IPv6 not working

mkg20001 opened this issue · comments

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

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

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)