Skip to content

just vm: boot nix-config's workstation VM from the ww3-gpu checkout - #103

Merged
h0ffmann merged 1 commit into
mainfrom
claude/just-vm
Oct 12, 2026
Merged

h0ffmann merged 1 commit into
mainfrom
claude/just-vm

Conversation

@h0ffmann

Copy link
Copy Markdown
Owner

Before: running just vm in ww3-gpu failed with "Justfile does not contain recipe vm". The VM is only defined in nix-config's root justfile, and the submodule's sparse checkout (labs/pratico) leaves that file off disk.

After: just vm and just vm-reset in ww3-gpu run nix-config's recipes of the same name, at the pinned commit (just -f nix-config/justfile -d nix-config vm). If nix-config/flake.nix is missing, they first turn off the sparse checkout. That is local state only: just submodule-init or just up make the submodule sparse again.

Tested: just --list parses. In a scratch sparse clone of nix-config, _nix-config-full checked out the root and just --dry-run vm / vm-reset dispatched to nix-config's justfile. The VM itself was not booted, because this container has no KVM.
Cost: none

🤖 Generated with Claude Code

https://claude.ai/code/session_01AmUouaTRqCtWwBVcf9jyrs


Generated by Claude Code

`just vm` and `just vm-reset` call the recipes of the same name in the
nix-config submodule, at the pinned commit. The VM is defined at nix-config's
root, which the labs/pratico sparse checkout leaves off disk, so both first
disable the sparse checkout when flake.nix is missing. That is local state:
`just submodule-init` or `just up` make the submodule sparse again.

Tested: just --list parses; in a scratch sparse clone of nix-config,
`just _nix-config-full` materialised the root and `just --dry-run vm` /
`vm-reset` dispatch to nix-config's justfile. The VM itself was not booted
(no KVM in this container).
Cost: none
@h0ffmann
h0ffmann merged commit e2f1e0e into main Oct 12, 2026
7 checks passed
@h0ffmann
h0ffmann deleted the claude/just-vm branch October 17, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants