From 9dbb21128558ab83a674af4f7330c3e464936859 Mon Sep 17 00:00:00 2001 From: randogoth Date: Sun, 1 Feb 2026 20:49:25 +0200 Subject: [PATCH] Add logging and no-root-passwd to installer --- scripts/install-btrfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-btrfs.sh b/scripts/install-btrfs.sh index 9adf547..095ab3e 100644 --- a/scripts/install-btrfs.sh +++ b/scripts/install-btrfs.sh @@ -63,6 +63,7 @@ EOF fi 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."