mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 02:54:03 -06:00
Update install.sh
This commit is contained in:
parent
a19e36f5b9
commit
2ed295f2c4
1 changed files with 13 additions and 5 deletions
18
install.sh
18
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue