5 lines
129 B
Bash
Executable file
5 lines
129 B
Bash
Executable file
echo "rebuilding" $(hostname) "from git repo"
|
|
git pull origin main
|
|
|
|
# build it
|
|
sudo nixos-rebuild switch --flake '.#$(hostname)'
|