From ad4a2d0dd5f0f9b7298c134e4375213934754741 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 6 May 2022 22:24:09 +0000 Subject: [PATCH] Update install.sh --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 4c41da7..e5b263a 100644 --- a/install.sh +++ b/install.sh @@ -81,6 +81,16 @@ curl https://gitlab.com/ahoneybun/nixos-cli-installer/-/raw/main/config-gnome.ni # Install sudo nixos-install +# Enter into installed OS +mount -o bind /dev /mnt/dev +mount -o bind /proc /mnt/proc +mount -o bind /sys /mnt/sys +chroot /mnt /nix/var/nix/profiles/system/activate +chroot /mnt /run/current-system/sw/bin/bash + +# Set password for user +passwd aaronh + # Removed downloaded script. rm install.sh