add rebuild.sh script

This commit is contained in:
2026-08-14 10:19:54 -05:00
parent ff54cd9c79
commit 797b786405

10
rebuild.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ "x$1" -eq "x" ]
then
h = "$(hostname -s)"
else
h = "$1"
fi
nixos-rebuild --flake /etc/nixos#${h} dry-run