This commit is contained in:
2026-03-02 16:35:14 +01:00
parent d182532b34
commit fc9ce88b31
15 changed files with 661 additions and 52 deletions

View File

@@ -36,3 +36,15 @@ iso:
# garbage collect old generations
clean:
sudo nix-collect-garbage $(nix eval --raw -f ./nix.nix nix.gc.options)
# build sandbox VM image
sandbox-build:
nixos-rebuild build-image --image-variant qemu --flake .#sandbox
# run sandbox VM
sandbox-run *ARGS:
bash dist/run.sh $(find -L result -name '*.qcow2' | head -1) {{ARGS}}
# ssh into running sandbox
sandbox-ssh:
ssh -A -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null gordaina@localhost