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
df5417adbe
commit
1b60b871cc
1 changed files with 5 additions and 11 deletions
16
install.sh
16
install.sh
|
@ -82,17 +82,11 @@ curl https://gitlab.com/ahoneybun/nixos-cli-installer/-/raw/main/config-gnome.ni
|
|||
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
|
||||
|
||||
# Set password for user
|
||||
passwd aaronh
|
||||
|
||||
# Exit chroot
|
||||
exit
|
||||
# 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
|
||||
|
||||
# Removed downloaded script.
|
||||
rm install.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue