Install NixOS on Hetzner Cloud: Difference between revisions
Oldhomemovie (talk | contribs) Re-work tutorial to rely on the kexec method |
Oldhomemovie (talk | contribs) No edit summary |
||
Line 169: | Line 169: | ||
nix run --extra-experimental-features 'nix-command flakes' github:nix-community/nixos-anywhere -- --flake /tmp/my-first-flake#my-hetzner-vm nixos@0.0.0.0 --build-on-remote | nix run --extra-experimental-features 'nix-command flakes' github:nix-community/nixos-anywhere -- --flake /tmp/my-first-flake#my-hetzner-vm nixos@0.0.0.0 --build-on-remote | ||
</syntaxhighlight>'''Note''': replace <code>0.0.0.0</code> with an IP address obtained during an earlier step. | </syntaxhighlight>'''Note''': replace <code>0.0.0.0</code> with an IP address obtained during an earlier step. | ||
The NixOS on Hetzner is installed! Let's do a few more steps to customize the installation. | The NixOS on Hetzner is installed! Let's do a few more steps to customize the installation. | ||
#Copy flake files onto the server. Run:<syntaxhighlight lang="shell"> | #Copy flake files onto the server. Run:<syntaxhighlight lang="shell"> |