diff --git a/nixconf.sh b/nixconf.sh index d72442c..9ba0251 100644 --- a/nixconf.sh +++ b/nixconf.sh @@ -4,6 +4,8 @@ echo "replacing config" cd /etc/nixos/ rm configuration.nix git clone https://dev.spittank.org/MK/NixConfig/src/branch/main/configuration.nix.git +cp /etc/nixos/NixConfig/configuration.nix /etc/nixos/ +rm -r /etc/nixos/NixConfig/ #read -p "name the device number" number #echo "$number" >> configuration.nix echo "generating config"