Files
nixos/rebuild.sh
2026-08-14 10:19:54 -05:00

11 lines
136 B
Bash
Executable File

#!/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