Update installer
This commit is contained in:
parent
93e38c71ee
commit
24bd738712
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue