Skip to content

Instantly share code, notes, and snippets.

View alexanderkjeldaas's full-sized avatar

Alexander Kjeldaas alexanderkjeldaas

  • Founder of a startup
  • Scandinavia
View GitHub Profile
@alexanderkjeldaas
alexanderkjeldaas / hetzner-cloud-wipe-and-install-nixos.sh
Last active April 16, 2021 16:59 — forked from nh2/hetzner-dedicated-wipe-and-install-nixos.sh
Example script to install NixOS on a Hetzner dedicated server via the Hetzner rescue mode
#!/usr/bin/env bash
# Installs NixOS on a Hetzner Cloud CX51 server, wiping the server.
#
# This is for a specific server configuration; adjust where needed.
#
# Prerequisites:
# * Update the script to adjust SSH pubkeys, hostname, NixOS version etc.
#
# Usage: