Update 'nixconf.sh'

This commit is contained in:
MK 2023-02-15 18:45:10 +01:00
parent 75498109fd
commit 650f40b0eb

View file

@ -9,8 +9,8 @@ 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/NixConfig/configuration.nix /etc/nixos/ cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/
rm -r /etc/nixos/NixConfig/ rm -r /etc/nixos/NixConfigLaptops/
echo "==================================================" echo "=================================================="
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
read -p "name the device number" number read -p "name the device number" number