Update 'nixconf.sh'

This commit is contained in:
MK 2023-02-24 16:06:55 +01:00
parent e98319ecdb
commit cb13fa48d6

View file

@ -2,7 +2,7 @@
#Wlan password:
#pw="enter password here"
nix-shell -p git
#nix-shell -p git
#echo "=================================================="
#echo "copy configuration"
#cp config.tar.gz /home/
@ -11,8 +11,8 @@ echo "replacing config"
echo "=================================================="
cd /etc/nixos/
rm configuration.nix
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/
#git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
cp /hone/lokoala/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