Public, no‑PII AI stack modules. This repo provides opinionated defaults and
wiring for nix-openclaw, but contains no secrets or user-specific data.
This repository is intentionally not standalone. It must be imported by a
private repo (e.g., nixos-config) that supplies secrets, allowlists, and local
paths. Private consumers own the assertions that fail live deploys when required
secrets or host paths are missing.
This repo is designed to be copyable by other users with a single agent prompt. The public defaults should describe a complete OpenClaw setup once private inputs are provided.
- Public module layer imported from a private repo
- Non‑PII defaults for OpenClaw and AI tooling
- Source of truth for public docs + skills
- A complete, runnable bot config
- A home for secrets, tokens, or allowlists
- A place to wire private tool paths
- The source of truth for which host runs which service
- The package owner for OpenClaw or OpenClaw-adjacent tools
Use AGENTS.md as the index for how these repos split responsibilities:
ai-stack: public defaults + wiring (no PII)nixos-config: private secrets + allowlists + local paths + host topologynix-ai-tools: generic AI CLI packagesnix-openclaw: packaging, module behavior, and reusable lifecycle for OpenClaw itselfnix-openclaw-tools: OpenClaw-adjacent plugin/tool packages consumed throughnix-openclawopentofu-infra: provider-side cloud resources
Architecture notes live in docs/architecture/ontology.md.
Import this repo from your private flake (Home Manager module):
imports = [ inputs.ai-stack.homeManagerModules.ai-stack ];Private repo responsibilities:
- Provide secrets and PII inputs to
programs.openclaw.* - Set Telegram allowlists and group modes
- Optionally override plugin sources with local paths
This repo sets public defaults for programs.openclaw (mirroring the full
example config from nix-openclaw). Secrets are required for live plugins, but
they belong in the private consumer layer.
A short wiring guide lives at:
docs/agents/openclaw-wiring-checklist.md
This repo ships public guidance and skills only:
docs/agents/GLOBAL_PREAMBLE.md+docs/agents/GLOBAL_CODEX_APPENDIX.md→~/.codex/AGENTS.mddocs/agents/GLOBAL_PREAMBLE.md+docs/agents/GLOBAL_CLAUDE_APPENDIX.md→~/.claude/CLAUDE.mdskills/→~/.claude/skillsand~/.pi/agent/skills- Codex defaults/skills should be wired by the consumer repo under
/etc/codex/{config.toml,skills}so~/.codexstays writable
Not included here:
- Claude permissions or
settings.json - Sub‑agent definitions
Custom cross-agent skills live in skills/.
Codex also ships built-in system skills under ~/.codex/skills/.system, so avoid duplicating built-ins in ai-stack/skills/ unless a custom variant adds real local policy, assets, or tooling.
Everything here is user‑level. No system‑level services or sudo required.
This stack assumes a simple layout under ~/code/nix:
~/code/nix/
ai-stack/
nix-ai-tools/
nixos-config/
nix-secrets/
nix-openclaw/ (optional, dev only)
nix-openclaw-tools/ (optional, dev only)
Adjust paths in the private repo if your layout differs.