Update 'nixconf.sh'
This commit is contained in:
parent
de7c856e8a
commit
b3f39323cc
1 changed files with 1 additions and 1 deletions
|
@ -12,8 +12,8 @@ git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfigLaptops.git
|
||||||
cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/
|
cp /etc/nixos/NixConfigLaptops/configuration.nix /etc/nixos/
|
||||||
rm -r /etc/nixos/NixConfigLaptops/
|
rm -r /etc/nixos/NixConfigLaptops/
|
||||||
echo "=================================================="
|
echo "=================================================="
|
||||||
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
|
|
||||||
read -p "name the device number" number
|
read -p "name the device number" number
|
||||||
|
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
|
||||||
sed -i "s/xxxYYYxxx/$pw/g" configuration.nix
|
sed -i "s/xxxYYYxxx/$pw/g" configuration.nix
|
||||||
echo "=================================================="
|
echo "=================================================="
|
||||||
echo "generating config"
|
echo "generating config"
|
||||||
|
|
Loading…
Reference in a new issue