Update NixOS config.

This commit is contained in:
Elias Gasparis 2024-11-20 20:20:30 +08:00
parent bdbfeff0c9
commit 4a5bc9ffd5

View file

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