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