Install NixOS on Hetzner Online: Difference between revisions

imported>2mol
No edit summary
imported>Mic92
make bootstrap shorter
Line 86: Line 86:
<syntaxHighlight>
<syntaxHighlight>
# Create a user, because the nix installer
# Create a user, because the nix installer
useradd foo
useradd -m -s /bin/bash foo
mkdir /home/foo
install -d -m700 -o foo /nix
chown foo /home/foo
mkdir /nix
chown foo /nix
su - foo
su - foo
bash


# Install Nix
# Install Nix