diff --git a/scripts/liminix-rebuild.sh b/scripts/liminix-rebuild.sh index 1e36a84..cf8e100 100755 --- a/scripts/liminix-rebuild.sh +++ b/scripts/liminix-rebuild.sh @@ -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