[feature] justfile: add build-vm and run-vm commands
This commit is contained in:
parent
da21f7a14c
commit
0d139aa66f
2 changed files with 9 additions and 6 deletions
6
justfile
6
justfile
|
@ -5,6 +5,12 @@ default:
|
|||
update input:
|
||||
nix flake lock --update-input {{input}} --commit-lock-file
|
||||
|
||||
build-vm:
|
||||
nixos-rebuild build-vm --flake .#vm --print-build-logs
|
||||
|
||||
run-vm: build-vm
|
||||
QEMU_OPTS="$QEMU_OPTS_WL" result/bin/run-nixos-vm
|
||||
|
||||
# Amend Update flake.lock PR
|
||||
flake-pr:
|
||||
git branch -D update_flake_lock_action || echo "no previous update branch"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue