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/
|
||||
rm configuration.nix
|
||||
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
|
||||
cp /etc/nixos/NixConfig/configuration.nix /etc/nixos/
|
||||
rm -r /etc/nixos/NixConfig/
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue