Update 'nixconf.sh'
This commit is contained in:
parent
748ecccad3
commit
f40fc0baea
1 changed files with 5 additions and 5 deletions
10
nixconf.sh
10
nixconf.sh
|
@ -11,11 +11,11 @@ rm configuration.nix
|
||||||
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git
|
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git
|
||||||
cp /etc/nixos/NixConfig/configuration.nix /etc/nixos/
|
cp /etc/nixos/NixConfig/configuration.nix /etc/nixos/
|
||||||
rm -r /etc/nixos/NixConfig/
|
rm -r /etc/nixos/NixConfig/
|
||||||
cd /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot
|
#cd /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot
|
||||||
rm tmp.nix
|
#rm tmp.nix
|
||||||
git clone https://dev.spittank.org/SchoolDeviceMaintainers/NixConfig.git
|
#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/
|
#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/
|
#rm -r /nix/var/nix/profiles/per-user/root/channels-1-link/nixos/nixos/modules/system/boot/NixConfig/
|
||||||
echo "=================================================="
|
echo "=================================================="
|
||||||
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
|
sed -i "s/nixoslaptop/nixoslaptop$number/g" configuration.nix
|
||||||
read -p "name the device number" number
|
read -p "name the device number" number
|
||||||
|
|
Loading…
Reference in a new issue