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