Skip to content

Instantly share code, notes, and snippets.

View JoeRu's full-sized avatar

Johannes Rumpf JoeRu

View GitHub Profile
@cyber-murmel
cyber-murmel / NixOS_on_Hetzner_Cloud.md
Last active April 16, 2025 13:21
NixOS on Hetzner Cloud

This is the gist of how to setup a NixOS server on a Hetzner Cloud instance with an admin user, ssh access and configuration management via git.

  1. Create a Hetzner Cloud instance and click to enter it.
  2. Stop the instance (top right corner icon).
  3. Go to ISO Images.
  4. Search for "nixos" and click mount. ISO Images tab of a Hetzner Cloud instance with the NixOS image already mounted
  5. Start the instance again (top right corner icon).
  6. Open the console (top right corner icon).
  7. Get the IP address by executing ip --brief --color address. The address can also be optained from the Hetzner Cloud web interface.