Prerequisites
Nix
Nix
Make sure you installed Nix before using Nicos. Please have a look at the official installation instructions.
Enable Flake support
Enable Flake support
In your NixOS configuration, add the following line:
Recommended: direnv and nix-direnv
Recommended: direnv and nix-direnv
You can add the following lines in your home-manager configuration:
Installation
Prepare a Hetzner Cloud instance
Add your current user’s SSH public key on Hetzner Cloud to this machine. See Hetzner Cloud documentation for more information.
Install the machine
Now that the machine configuration is ready, you can install it on your Hetzner Cloud server:It will install and configure the machine using nixos-anywhere, kexec, and cloud-init.

