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
Generated
+36
View File
@@ -970,6 +970,22 @@
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1772963539,
"narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"openwrt-feeds": {
"inputs": {
"nixpkgs": [
@@ -1015,6 +1031,25 @@
"type": "github"
}
},
"paseo": {
"inputs": {
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1794272854,
"narHash": "sha256-zqD9MrqYZ6S3O72b5y+7P0iJgIMf4MRq1zgcqBcyhko=",
"owner": "getpaseo",
"repo": "paseo",
"rev": "1c00b365c9e0b74c1580eba33d905d693125ae21",
"type": "github"
},
"original": {
"owner": "getpaseo",
"ref": "v0.15.4",
"repo": "paseo",
"type": "github"
}
},
"pyproject-nix": {
"inputs": {
"nixpkgs": [
@@ -1085,6 +1120,7 @@
"nixpkgs-unstable": "nixpkgs-unstable",
"openwrt-feeds": "openwrt-feeds",
"openwrt-imagebuilder": "openwrt-imagebuilder",
"paseo": "paseo",
"ragenix": "ragenix"
}
},