Update installer

This commit is contained in:
albert 2024-07-14 20:35:21 +09:00
parent 93e38c71ee
commit 24bd738712
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -69,6 +69,14 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
--mode disko \
"nixos/hosts/$TARGET_HOST/disks.nix"
echo ""
echo " ---- "
echo " ---- Disk formatting complete "
echo " ---- "
echo ""
echo "Sleeping 5s before proceeding..."
sleep 5
sudo nixos-install --no-root-password --flake ".#$TARGET_HOST"
# Rsync nix-config to the target install.
@ -83,4 +91,4 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
sudo cp /mnt-root/etc/swap.key /mnt/etc/swap.key
sudo chmod 0400 /mnt/etc/swap.key
fi
fi
fi