adding install file

This commit is contained in:
2025-04-12 16:41:43 -07:00
parent 0c7625d1ff
commit 6226804697
2 changed files with 35 additions and 0 deletions

14
install.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
read -p "SSID: " SSID
read -s -p "PSK: " PSK
cat > /etc/wpa_supplicant.conf <<EOF
network={
ssid="${SSID}"
psk="${PSK}"
}
EOF
systemctl start wpa_supplicant
nixos-generate-config --root /mnt
nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware