From 797b7864051c08187cb87d68fce652c9b59db953 Mon Sep 17 00:00:00 2001 From: Matthew Stobbs Date: Fri, 14 Aug 2026 10:19:54 -0500 Subject: [PATCH] add rebuild.sh script --- rebuild.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 rebuild.sh diff --git a/rebuild.sh b/rebuild.sh new file mode 100755 index 0000000..2a1f458 --- /dev/null +++ b/rebuild.sh @@ -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