nixos/sfh: Add slop-cannon container for agents

A container on `sfh` for coding agents driven remotely through Paseo,
using our relay on `middleman`. Agents run as the unprivileged
`slop-cannon` user; Claude managed settings disable bypass mode and
deny raw deploy and `ssh-machine` access.

Move the Claude Code and Codex configuration out of `gui` into a
shared `my.agents` home-manager module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 00:39:48 +00:00
co-authored by Claude Opus 5.5
parent 5af71ea231
commit a62b8351fa
17 changed files with 599 additions and 116 deletions
+3
View File
@@ -73,6 +73,9 @@
# Packages not in nixpkgs
# Keep its tested nixpkgs pin so packages can use the upstream binary cache.
llm-agents.url = "github:numtide/llm-agents.nix";
# Pinned to a release. Don't make it follow our nixpkgs: its npm dependency hash is tied to its
# own nixpkgs pin.
paseo.url = "github:getpaseo/paseo/v0.15.4";
borgthin.url = "github:devplayer0/borg";
# TODO: Update borgthin so this works
# borgthin.inputs.nixpkgs.follows = "nixpkgs-mine";