[BREAKGLASS] Packages OpenClaw for nix.
What: pin Clawdis source to steipete v2.0.0-beta4 and update hashes/flake.lock.\nWhy: upstream main fails to build; beta4 builds cleanly.\nTests: nix build .#clawdis-gateway |
||
|---|---|---|
| docs | ||
| nix | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
nix-clawdis
Declarative Clawdis for macOS via Nix.
The vibe
- Technically light. If you can paste a Nix snippet, you can run Clawdis.
- Telegram-first. Fastest path to a working bot, then add more providers later.
- Batteries included defaults. Safe, opinionated settings that “just work.”
- No mystery steps. Every command is copy/pasteable.
Zero to Clawdis
Never used Nix? Start here:
- Read:
docs/zero-to-clawdis.md - You’ll install Determinate Nix, bootstrap a flake, enable the module, and go.
Quickstart (Telegram)
Minimal config:
{
programs.clawdis = {
enable = true;
providers.telegram = {
enable = true;
botTokenFile = "/run/agenix/telegram-bot-token";
allowFrom = [ 12345678 -1001234567890 ];
};
routing.queue.mode = "interrupt";
};
}
Then:
clawdis status
clawdis health
What’s included (v1)
- macOS-only (nix-darwin + Home Manager)
- Telegram-first docs + defaults
- Guided setup app (
nix run nix-clawdis#clawdis-setup) - Troubleshooting checklist + health checks
Not included (v1)
- Linux/Windows support
- CI automation
Docs
docs/zero-to-clawdis.md— Nix install + bootstrappingdocs/agent-copypasta.md— paste into Claude/Codexdocs/quickstart-telegram.md— minimal Telegram setupdocs/quickstart-whatsapp.md— optional WhatsApp/web setupdocs/configuration.md— full option referencedocs/troubleshooting.md— exact commands + expected output
Give this to your AI agent
Copy this block and paste it into Claude/Codex:
I want to install Clawdis on macOS using Nix.
Repo: github:joshp123/nix-clawdis
What I need:
1) Install Determinate Nix if missing
2) Create a minimal flake for my machine
3) Add nix-clawdis as an input
4) Enable the Clawdis module with Telegram-first defaults
5) Configure my bot token + allowFrom list
6) Run build + show `clawdis status` and `clawdis health`
My setup:
- macOS version: [FILL IN]
- Telegram bot token path: [FILL IN]
- Allowed chat IDs: [FILL IN]
Use docs/zero-to-clawdis.md and docs/agent-copypasta.md for the exact steps.
Status
RFC: docs/rfc/2026-01-02-declarative-clawdis-nix.md