Use QVM_BIN_DIR fallback for script paths and set in flake

This commit is contained in:
Joshua Bell 2026-01-26 10:27:57 -06:00
parent 8d68e1daf9
commit 7864673dcb
6 changed files with 13 additions and 14 deletions

View file

@ -78,7 +78,7 @@ main() {
# Ensure VM is running (auto-start if needed)
if ! is_vm_running; then
log_info "VM is not running, starting it..."
"$QVM_LIB_DIR/../bin/qvm-start"
" "${QVM_BIN_DIR:-$(dirname "$0")}/qvm-start""
fi
# Get SSH port