nixos/slop-cannon: Move to a VM on palace
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:
@@ -168,10 +168,6 @@ in
|
||||
MACVLAN = mkForce "ctrs-hi:host0 ctrs-core:lan-core";
|
||||
};
|
||||
};
|
||||
# nspawn's default `/tmp` is 10% of RAM; agents need more scratch space
|
||||
slop-cannon = {
|
||||
filesConfig.TemporaryFileSystem = [ "/tmp:mode=1777,size=32G" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
@@ -184,11 +180,6 @@ in
|
||||
RuntimeDirectory = "hass-webcam";
|
||||
BindPaths = [ "-/dev/video0:/run/hass-webcam/video0" ];
|
||||
};
|
||||
# Coding agents; keep the other containers responsive
|
||||
"systemd-nspawn@slop-cannon".serviceConfig = {
|
||||
CPUWeight = 20;
|
||||
MemoryMax = "64G";
|
||||
};
|
||||
};
|
||||
|
||||
my = {
|
||||
@@ -212,7 +203,6 @@ in
|
||||
let
|
||||
instances = {
|
||||
unifi = {};
|
||||
slop-cannon = {};
|
||||
hass = {
|
||||
bindMounts = {
|
||||
"/mnt/frigate" = {
|
||||
|
||||
Reference in New Issue
Block a user