Update 'nixconf.sh'

This commit is contained in:
MK 2023-02-24 10:47:00 +01:00
parent f47e467263
commit c9fa6d7755

View file

@ -12,6 +12,8 @@ git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/
rm -r /etc/nixos/NixConfigLaptops/
echo "=================================================="
sudo nmcli device wifi connect gy-sedan14-wpa2 password "hier einfügen" hidden yes
echo "=================================================="
read -p "name the device number" number
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
sed -i "s/xxxYYYxxx/$pw/g" configuration.nix