Update 'nixconf.sh'

This commit is contained in:
MK 2023-02-16 17:23:38 +01:00
parent de7c856e8a
commit b3f39323cc

View file

@ -12,8 +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 "=================================================="
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
read -p "name the device number" number
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
sed -i "s/xxxYYYxxx/$pw/g" configuration.nix
echo "=================================================="
echo "generating config"