Install NixOS on Hetzner Cloud: Difference between revisions

imported>Mweinelt
imported>Raboof
Line 23: Line 23:
=== nixos-infect ===
=== nixos-infect ===


Beside the manual installation, one way to setup NixOS is to replace an existing installation, for example the latest Ubuntu image, with [https://github.com/elitak/nixos-infect nixos-infect]. The installation process follows these steps:
Beside the manual installation, one way to setup NixOS is to replace an existing installation, for example the latest Ubuntu image, with [https://github.com/elitak/nixos-infect nixos-infect].  
 
==== Cloud-init ====
 
You don't even need to log into the Ubuntu image, you can run nixos-infect from the 'could-init' as documented at https://github.com/elitak/nixos-infect/tree/master#hetzner-cloud
 
==== Manually ====


* Boot into the existing operating system, preferably Ubuntu or Debian
* Boot into the existing operating system, preferably Ubuntu or Debian