auto-install script
This commit is contained in:
parent
c92f75899a
commit
78e14cf464
|
@ -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..."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue