auto-install script

This commit is contained in:
shynd 2025-02-20 13:30:37 +01:00
parent c92f75899a
commit 78e14cf464
1 changed files with 10 additions and 1 deletions

View File

@ -169,4 +169,13 @@ done
echo "-----" echo "-----"
# TODO echo "${NOTE} setting required nix settings before proceeding with install"
git config --global user.name "installer"
git config --global user.email "installer@local.domain"
git add .
sed -i 's/host\s*=\s*"\([^"]*\)"/host = "'"$hostName"'"/' ./flake.nix
printf "\n%.0s" {1..2}
echo "${NOTE} rebuilding nixos, this will take some time..."