diff --git a/nixconf.sh b/nixconf.sh index c78738d..41e8c76 100644 --- a/nixconf.sh +++ b/nixconf.sh @@ -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"