mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-14 23:49:13 +01:00
Updated installer with fixes
This commit is contained in:
parent
be9add0954
commit
db8ee90d35
@ -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 "-----"
|
||||
|
Loading…
Reference in New Issue
Block a user