12 lines
139 B
Bash
Executable File
12 lines
139 B
Bash
Executable File
#!/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
|