Skip to content

Instantly share code, notes, and snippets.

@JustinShenk
JustinShenk / hetzner-dedicated-wipe-and-install-nixos.sh
Last active September 22, 2019 17:55 — 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 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: