mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-05 20:16:17 +01:00
Merge pull request #425 from ryan4yin/docs/agents-rule-gaps
fix: close rule gaps behind repeated corrections and sync stale docs and recipes
This commit is contained in:
23 files changed
+206
-198
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
NixOS VM running under libvirt on `shoryu`, used to run AI agents. It owns the shared agent and
|
||||
computer-use modules (`packages.nix`, `computer-use.nix`, `oci-containers/`) that
|
||||
[`idols-kana`](../idols-kana/) imports, and is the only host with a `*-nixos-tests` output.
|
||||
[`idols-kana`](../idols-kana/) imports.
|
||||
|
||||
- Deploy from the VM with `just local`.
|
||||
- Host inventory and role context: [`../README.md`](../README.md).
|
||||
+7
-4
@@ -31,12 +31,15 @@ complete Nix closure to the physical host, installs it under `/var/lib/microvms/
|
||||
activates the guest:
|
||||
|
||||
```sh
|
||||
just microvm-deploy <guest> <physical-host> <guest-ip>
|
||||
just microvm-deploy <guest> <physical-host>
|
||||
```
|
||||
|
||||
For example, `just microvm-deploy k3s-test-1-master-3 shushou 192.168.5.116`. The recipe installs
|
||||
the runner on the physical host first, then activates the guest with the microvm.nix SSH deployment
|
||||
interface.
|
||||
For example, `just microvm-deploy k3s-test-1-master-3 shushou`. The recipe copies the runner to the
|
||||
physical host, then restarts `microvm@<guest>` there; microvm.nix's SSH switch is not used because
|
||||
it cannot write the guest's read-only `/nix/store` (WA-026 in
|
||||
[WORKAROUNDS.md](../../WORKAROUNDS.md)). A later activation of the physical host re-points the guest
|
||||
at the runner baked into the host's system, so switch the host after installing a guest from a newer
|
||||
tree.
|
||||
|
||||
Use `just build-microvm <guest>` to build a runner without deploying it. Preserve the guest's
|
||||
`etc.img`, `var.img`, and `home.img` when updating it; they contain its identity and K3s state.
|
||||
|
||||
Reference in new issue
Block a user