updated shell scripts

This commit is contained in:
batvin321 2024-11-18 15:44:10 -05:00
parent 8414c49cad
commit bff2e27add
3 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
echo "enter config name"
read HOST
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko system/$HOST/disk.nix

3
rebuild.sh Normal file
View File

@ -0,0 +1,3 @@
echo "enter config name"
read HOST
sudo nixos-rebuild switch --flake .#$HOST

7
update.sh Normal file
View File

@ -0,0 +1,7 @@
echo "enter config name"
read HOST
nix flake update
sudo nixos-rebuild switch --flake .#$HOST