Added password change at the end of the install
This commit is contained in:
parent
4c3fdff8a2
commit
2e2ca7c41e
@ -40,6 +40,10 @@ nixos-generate-config --root /mnt
|
||||
# Install NixOS using the cloned configuration
|
||||
nixos-install --flake /mnt/etc/nixos#vm
|
||||
|
||||
# Set the root password
|
||||
echo "Set the root password:"
|
||||
passwd
|
||||
|
||||
# Reboot the system
|
||||
echo "Installation complete. Rebooting..."
|
||||
reboot
|
Loading…
x
Reference in New Issue
Block a user