dostosowanie instalatora pod siebie
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user