Update install.sh

This commit is contained in:
Aaron Honeycutt 2022-05-08 17:10:44 +00:00
parent a19e36f5b9
commit 2ed295f2c4

View file

@ -94,11 +94,19 @@ curl https://gitlab.com/ahoneybun/nixos-cli-installer/-/raw/nathaniel-btrfs/conf
sudo nixos-install sudo nixos-install
# Enter into installed OS # Enter into installed OS
# sudo mount -o bind /dev /mnt/dev sudo mount -o bind /dev /mnt/dev
# sudo mount -o bind /proc /mnt/proc sudo mount -o bind /proc /mnt/proc
# sudo mount -o bind /sys /mnt/sys sudo mount -o bind /sys /mnt/sys
# sudo chroot /mnt /nix/var/nix/profiles/system/activate sudo chroot /mnt /nix/var/nix/profiles/system/activate
# sudo chroot /mnt /run/current-system/sw/bin/bash sudo chroot /mnt /run/current-system/sw/bin/bash
# Set user password
echo "----------"
echo ""
echo "Which is the username?"
read userName
sudo passwd $userName
# Removed downloaded script. # Removed downloaded script.
rm install.sh rm install.sh