š¦ darkone.host.ai-space
AI space: headless host running the agents of one space (owner + members).
Server base with secrets isolated from the fleet: agents read untrusted
input (mail, web, chat), so the host only decrypts its own
usr/secrets/hosts/<hostname>.yaml. Usually a microVM guest
(features: ["microvm-guest:<hypervisor>"]), bare metal works too.
Agent tooling, declared once per space (usr/machines/<host>/configuration.nix)
and shared by the OpenClaw assistant and every memberās Claude Code / Codex /
OpenCode (darkone.home.aiSpace, on by default in the space-member home):
mcp: MCP servers, local (command) or remote (url);skills:SKILL.mdcontent, a file or a skill directory, by name;enableClaude,enableCodex,enableOpenCode: CLIs for members and for OpenClaw delegation;packages: tools on the agentsā PATH and in membersā homes;projectsDir: shared projects, writable by every member and the agent (groupprojects, setgid, default ACL),~/projectsin membersā homes.
darkone.host.ai-space = { mcp.fetch = { command = "uvx"; args = [ "mcp-server-fetch" ]; }; mcp.github = { command = "github-mcp-server"; args = [ "stdio" ]; secretEnv = [ "GITHUB_PERSONAL_ACCESS_TOKEN" ]; # sops: mcp/github/<VAR> }; skills.commit-style = ./skills/commit-style; packages = [ pkgs.uv pkgs.pandoc pkgs.github-mcp-server ];};Options
Section titled āOptionsā- enable
boolAI space host (isolated agents workspace) - mcp
attrsMCP servers of the space: OpenClaw and membersā Claude Code / Codex / OpenCode. - skills
attrsSkills of the space, by name: inlineSKILL.md, aSKILL.mdfile or a skill directory. Given to OpenClaw and membersā Claude Code / Codex / OpenCode. - enableClaude
boolClaude Code for members and for OpenClaw (coding-agent delegation). - enableCodex
boolCodex CLI for members and for OpenClaw (coding-agent delegation). - enableOpenCode
boolOpenCode for members and for OpenClaw (coding-agent delegation). - packages
listOf packageTools of the space: OpenClaw PATH and membersā homes. - projectsDir
strShared projects of the space: every member and the OpenClaw agent (its working dir) read and write them,~/projectsin membersā homes.
darkone.host.ai-space = { enable = false; mcp = { }; skills = { }; enableClaude = true; enableCodex = true; enableOpenCode = true; packages = [ ]; projectsDir = "/var/lib/projects";};