Install NixOS on Hetzner Cloud
Installation
Network configuration
The public IPv4 address of the server will be automatically obtained by NixOS via DHCP, no extra configuration needed. For IPv6 you have to assign the network address and gateway manually like this:
networking = {
interfaces.ens3.ipv6.addresses = [{
address = "2a01:4f8:....:....::";
prefixLength = 64;
}];
defaultGateway6 = {
address = "fe80::1";
interface = "ens3";
};
};
Replace the address
part with the correct IPv6 address of your instance. You can find it on the Hetzner Cloud Console by selecting the respective server and navigation to the "Networking" section in the left menu.