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 6d5ed92b2c
commit 32f4c33b76

View file

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