Quickstart
Start your first machine
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
It will guide you in the configuration of your project. For now, you can only enable the NixOS feature and skip the other ones.
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.
Create a machine configuration
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.