feat(liminix-rebuild): support hive names directly

Thanks @catvayor, I'm so dumb.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-09-01 17:20:37 +02:00
parent afd92ab203
commit 47231417cc

View file

@ -23,7 +23,7 @@ if [ -z "$target_host" ] ; then
exit 1 exit 1
fi fi
if toplevel="$@"; then if toplevel="$(nom-build $(colmena eval -E "{ nodes, ... }: nodes.$@.config.system.outputs.systemConfiguration" --instantiate))"; then
echo systemConfiguration $toplevel echo systemConfiguration $toplevel
min-copy-closure $target_host $toplevel min-copy-closure $target_host $toplevel
$ssh_command $target_host $toplevel/bin/install $ssh_command $target_host $toplevel/bin/install