Update 'nixconf.sh'
This commit is contained in:
parent
75498109fd
commit
650f40b0eb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue