From 2e0d0d90cdbdf62c24286f9e434fbfa98937df14 Mon Sep 17 00:00:00 2001 From: MK Date: Fri, 10 Feb 2023 23:59:11 +0100 Subject: [PATCH] Update 'nixconf.sh' --- nixconf.sh | 2 ++ 1 file changed, 2 insertions(+) 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"