From db8ee90d356595ba622211a18c5b99c1fa2db90f Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Sun, 19 May 2024 13:13:37 -0500 Subject: [PATCH] Updated installer with fixes --- install-zaneyos.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install-zaneyos.sh b/install-zaneyos.sh index b02d03c..7642a70 100755 --- a/install-zaneyos.sh +++ b/install-zaneyos.sh @@ -60,11 +60,14 @@ git clone https://gitlab.com/zaney/zaneyos.git cd zaneyos || exit mkdir hosts/"$hostName" cp hosts/default/*.nix hosts/"$hostName" +git config --global user.name "installer" +git config --global user.email "installer@gmail.com" +git add . sed -i "/^\s*host[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./flake.nix echo "-----" -installusername=$("$USER") +installusername=$($USER) sed -i "/^\s*username[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$installusername\"/" ./flake.nix echo "-----"