diff --git a/install.sh b/install.sh index 57529fc..7960be1 100644 --- a/install.sh +++ b/install.sh @@ -94,11 +94,19 @@ curl https://gitlab.com/ahoneybun/nixos-cli-installer/-/raw/nathaniel-btrfs/conf sudo nixos-install # Enter into installed OS -# sudo mount -o bind /dev /mnt/dev -# sudo mount -o bind /proc /mnt/proc -# sudo mount -o bind /sys /mnt/sys -# sudo chroot /mnt /nix/var/nix/profiles/system/activate -# sudo chroot /mnt /run/current-system/sw/bin/bash +sudo mount -o bind /dev /mnt/dev +sudo mount -o bind /proc /mnt/proc +sudo mount -o bind /sys /mnt/sys +sudo chroot /mnt /nix/var/nix/profiles/system/activate +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. rm install.sh