justfile | add --impure on vm build
This commit is contained in:
parent
03a0a58b3e
commit
62edc1641c
1 changed files with 1 additions and 1 deletions
2
justfile
2
justfile
|
|
@ -52,7 +52,7 @@ vm hostname=(HOSTNAME):
|
||||||
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false )
|
||||||
@rm -f nixos-switch.log
|
@rm -f nixos-switch.log
|
||||||
@echo Running iso build
|
@echo Running iso build
|
||||||
@nixos-rebuild build-vm --flake .#{{hostname}}
|
@nixos-rebuild build-vm --impure --flake .#{{hostname}}
|
||||||
export QEMU_NET_OPTS="hostfwd=tcp::2221-:22"
|
export QEMU_NET_OPTS="hostfwd=tcp::2221-:22"
|
||||||
result/bin/run-{{hostname}}-vm
|
result/bin/run-{{hostname}}-vm
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue