Update 'nixconf.sh'
This commit is contained in:
parent
dc141cb66c
commit
2e0d0d90cd
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +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/src/branch/main/configuration.nix.git
|
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
|
#read -p "name the device number" number
|
||||||
#echo "$number" >> configuration.nix
|
#echo "$number" >> configuration.nix
|
||||||
echo "generating config"
|
echo "generating config"
|
||||||
|
|
Loading…
Reference in a new issue