From 7e455117ae4100c7072e1814fced69cc844c93ee Mon Sep 17 00:00:00 2001 From: MK Date: Mon, 13 Feb 2023 21:23:18 +0100 Subject: [PATCH] Update 'nixconf.sh' --- nixconf.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixconf.sh b/nixconf.sh index 8695997..ed02566 100644 --- a/nixconf.sh +++ b/nixconf.sh @@ -11,6 +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/ echo "==================================================" sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix read -p "name the device number" number