11 lines
136 B
Bash
Executable File
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
|