Install NixOS on Hetzner Online: Difference between revisions
imported>Montchr Update initial Nix and nixos-generators installation steps |
imported>Montchr m Bash syntax highlighting for nixos-generators section |
||
Line 84: | Line 84: | ||
First, reboot the machine in Rescue mode. Make sure to select your SSH public key. SSH into the machine: | First, reboot the machine in Rescue mode. Make sure to select your SSH public key. SSH into the machine: | ||
<syntaxHighlight> | <syntaxHighlight lang=bash> | ||
# Create a user, because the nix installer disallows running as root | # Create a user, because the nix installer disallows running as root | ||
adduser --add_extra_groups=sudo foo | adduser --add_extra_groups=sudo foo |