Skip to content

Instantly share code, notes, and snippets.

@chrissound
Created February 3, 2019 10:50
Show Gist options
  • Save chrissound/02f08def97a083e138ef954393294fa3 to your computer and use it in GitHub Desktop.
Save chrissound/02f08def97a083e138ef954393294fa3 to your computer and use it in GitHub Desktop.
mount /dev/sda1 /mnt
mkdir -p /mnt/boot
mount /dev/disk/by-label/boot /mnt/boot
swapon /dev/sda2
nixos-generate-config --root /mnt
nixos-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment