Install NixOS on Hetzner Online: Difference between revisions

imported>Asymmetric
No edit summary
imported>Nh2
Link how to install NixOS on Hetzner Cloud
Line 1: Line 1:
This article is about installing NixOS on [https://www.hetzner.com/dedicated-rootserver?country=us Hetzner Online], which provides dedicated
This article is about installing NixOS on [https://www.hetzner.com/dedicated-rootserver?country=us Hetzner Online], which provides dedicated
bare-metal servers. This is not to be confused by [https://www.hetzner.com/cloud Hetzner cloud], that provides VMs.
bare-metal servers.
There are three ways at the time to install NixOS on Hetzner
 
This is not to be confused with [https://www.hetzner.com/cloud Hetzner Cloud], that provides VMs (an example for how to install NixOS there is shown [https://gist.github.com/nh2/c02612e05d1a0f5dc9fd50dda04b3e48 here]).
 
There are three ways at the time to install NixOS on Hetzner dedicated:


# From Hetzner's rescue image one can boot into the nixos installer using a custom kexec image that is configured with the fixed IPv6 provided by Hetzner and also contain your ssh key. Tip: The kexec tarball as generated by [https://github.com/nix-community/nixos-generators nixos-generators] can remain put into the /boot partition for future use.  
# From Hetzner's rescue image one can boot into the nixos installer using a custom kexec image that is configured with the fixed IPv6 provided by Hetzner and also contain your ssh key. Tip: The kexec tarball as generated by [https://github.com/nix-community/nixos-generators nixos-generators] can remain put into the /boot partition for future use.