nixos/slop-cannon: Move to a VM on palace
CI / Check, build and cache nixfiles (push) Successful in 45m39s
Update docs / update (push) Successful in 1m0s

Give agents their own kernel, Nix daemon and disk for workloads that
need root. Put the VM on the `untrusted` VLAN with MAC spoof
checking on VF 5.

Export a dedicated partition from `cellar` and connect it on
`palace`. Give the VM its own SSH host key and age secrets for Paseo
and Gitea. Keep the agent home and Paseo identity on persistent
storage and provide `slop-pair` for pairing clients.

Retire the container, restore `sfh` to 8 cores and 32 GiB, and rekey
the shared password secret. Document the VM and its operating
procedures on the relevant box pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 22:02:14 +00:00
co-authored by Claude Opus 5.5
parent 5058dec3f1
commit a6491c7535
20 changed files with 588 additions and 353 deletions
+3 -2
View File
@@ -179,11 +179,11 @@ rec {
};
vm = rec {
lvmDisk'' = name: vg: lv: {
blockDisk = name: filename: {
inherit name;
backend = {
driver = "host_device";
filename = "/dev/${vg}/${lv}";
inherit filename;
# It appears this needs to be set on the backend _and_ the format
discard = "unmap";
};
@@ -193,6 +193,7 @@ rec {
};
frontend = "virtio-blk";
};
lvmDisk'' = name: vg: lv: blockDisk name "/dev/${vg}/${lv}";
lvmDisk' = vg: lv: lvmDisk'' lv vg lv;
lvmDisk = lvmDisk' "main";
disk = vm: lv: lvmDisk'' lv "main" "vm-${vm}-${lv}";