Add logging and no-root-passwd to installer
This commit is contained in:
parent
cd49f479dd
commit
9dbb211285
1 changed files with 2 additions and 1 deletions
|
|
@ -63,6 +63,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[7/7] Installing ${HOSTNAME} via flake"
|
echo "[7/7] Installing ${HOSTNAME} via flake"
|
||||||
nixos-install --root /mnt --flake "/mnt/etc/nixos#${HOSTNAME}"
|
nixos-install --root /mnt --flake "/mnt/etc/nixos#${HOSTNAME}" --no-root-passwd --log-format internal-json |& tee /tmp/nixos-install.log
|
||||||
|
echo "Install log saved to /tmp/nixos-install.log"
|
||||||
|
|
||||||
echo "Install complete. You can reboot now."
|
echo "Install complete. You can reboot now."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue