From f40fc0baeabbb8a20b4a911f711b84838b420c33 Mon Sep 17 00:00:00 2001 From: MK Date: Tue, 14 Feb 2023 17:47:46 +0100 Subject: [PATCH] Update 'nixconf.sh' --- nixconf.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixconf.sh b/nixconf.sh index ed02566..34ed700 100644 --- a/nixconf.sh +++ b/nixconf.sh @@ -11,11 +11,11 @@ rm configuration.nix git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git cp /etc/nixos/NixConfig/configuration.nix /etc/nixos/ rm -r /etc/nixos/NixConfig/ -cd /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot -rm tmp.nix -git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git -cp /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/NixConfig/tmp.nix /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/ -rm -r /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/NixConfig/ +#cd /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot +#rm tmp.nix +#git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git +#cp /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/NixConfig/tmp.nix /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/ +#rm -r /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/NixConfig/ echo "==================================================" sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix read -p "name the device number" number