init.sh: better guidance through setup
This commit is contained in:
parent
36c18b7f82
commit
11e0e6930b
1 changed files with 16 additions and 0 deletions
16
init.sh
16
init.sh
|
@ -24,3 +24,19 @@ nix-channel --add "https://channels.nixos.org/nixpkgs-unstable" nixpkgs
|
|||
echo updating
|
||||
nix-channel --update
|
||||
echo "> all set."
|
||||
echo
|
||||
echo "you can now do the following to finish setup:"
|
||||
echo " 1. reboot the system"
|
||||
echo " 2. open tty1 and login as root"
|
||||
echo " 3. run nixos-edit init"
|
||||
echo " 4. finish setup for tudbut user"
|
||||
echo " 5. login on tty7"
|
||||
echo " 6. go back to tty1 and do what nixos-edit tells you"
|
||||
echo
|
||||
echo -n "do you want to reboot now? [Y/n] "
|
||||
read yn
|
||||
if [ "$yn" != n ] ; then
|
||||
echo "rebooting"
|
||||
sleep 1
|
||||
reboot
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue