Update 'nixconf.sh'

This commit is contained in:
MK 2023-02-10 23:23:46 +01:00
parent 5f33e6830b
commit f66881aa5d

View file

@ -4,8 +4,8 @@ echo "replacing config"
cd /etc/nixos/ cd /etc/nixos/
rm configuration.nix rm configuration.nix
git clone https://dev.spittank.org/MK/NixConfig.git git clone https://dev.spittank.org/MK/NixConfig.git
read -p "name the device number" number #read -p "name the device number" number
echo "$number" >> configuration.nix #echo "$number" >> configuration.nix
echo "generating config" echo "generating config"
nixos-rebuild switch nixos-rebuild switch
while true; do while true; do