dostosowanie instalatora pod siebie

This commit is contained in:
installer
2024-12-27 14:49:05 +01:00
parent 54951a1a86
commit 027fcc2ffb
2 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ Simply copy this and run it:
```
nix-shell -p git curl
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
sh <(curl -L https://gitea.garandplg.com/GarandPLG/nix-zaneyos/src/branch/main/install-zaneyos.sh)
```
#### 🦽 Manual:
@@ -66,7 +66,7 @@ sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
Clone this repo & enter it:
```
git clone https://gitlab.com/zaney/zaneyos.git
git clone https://gitea.garandplg.com/GarandPLG/nix-zaneyos.git
cd zaneyos
```

View File

@@ -56,7 +56,7 @@ fi
echo "-----"
echo "Cloning & Entering ZaneyOS Repository"
git clone https://gitlab.com/zaney/zaneyos.git
git clone https://gitea.garandplg.com/GarandPLG/nix-zaneyos.git
cd zaneyos || exit
mkdir hosts/"$hostName"
cp hosts/default/*.nix hosts/"$hostName"
@@ -66,9 +66,9 @@ git add .
sed -i "/^\s*host[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$hostName\"/" ./flake.nix
read -rp "Enter your keyboard layout: [ us ] " keyboardLayout
read -rp "Enter your keyboard layout: [ pl ] " keyboardLayout
if [ -z "$keyboardLayout" ]; then
keyboardLayout="us"
keyboardLayout="pl"
fi
sed -i "/^\s*keyboardLayout[[:space:]]*=[[:space:]]*\"/s/\"\(.*\)\"/\"$keyboardLayout\"/" ./hosts/$hostName/variables.nix