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: #Wlan password:
#pw="enter password here" #pw="enter password here"
nix-shell -p git #nix-shell -p git
#echo "==================================================" #echo "=================================================="
#echo "copy configuration" #echo "copy configuration"
#cp config.tar.gz /home/ #cp config.tar.gz /home/
@ -11,8 +11,8 @@ echo "replacing config"
echo "==================================================" echo "=================================================="
cd /etc/nixos/ cd /etc/nixos/
rm configuration.nix rm configuration.nix
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git #git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/ cp /hone/lokoala/NixConfigLaptops/configuration.nix /etc/nixos/
rm -r /etc/nixos/NixConfigLaptops/ rm -r /etc/nixos/NixConfigLaptops/
echo "==================================================" echo "=================================================="
sudo nmcli device wifi connect gy-sedan14-wpa2 password "hier einfügen" hidden yes sudo nmcli device wifi connect gy-sedan14-wpa2 password "hier einfügen" hidden yes