Update NixOS config.

This commit is contained in:
Elias Gasparis 2024-11-20 20:19:04 +08:00
parent b1d9bf3e4c
commit bdbfeff0c9
3 changed files with 9 additions and 6 deletions

5
rebuild.sh Executable file
View file

@ -0,0 +1,5 @@
echo "rebuilding" $(hostname) "from git repo"
git pull origin main
# build it
sudo nixos-rebuild switch --flake '.#$(hostname)'