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. If those inputs are missing, builds should fail with clear errors.
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
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 pathsnix-openclaw: packaging and batteries‑included defaults for Openclaw itself
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, and
the build should fail if they’re missing.
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/
nixos-config/
nix-secrets/
nix-openclaw/ (optional, dev only)
Adjust paths in the private repo if your layout differs.