Added password change at the end of the install

This commit is contained in:
Luke Else 2025-03-21 00:02:29 +00:00
parent 4c3fdff8a2
commit 2e2ca7c41e

View File

@ -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