From 2ed295f2c419d28a8928e4850f45e18d3d36d68d Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sun, 8 May 2022 17:10:44 +0000 Subject: [PATCH] Update install.sh --- install.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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