[BREAKGLASS] Packages OpenClaw for nix.
Go to file
Josh Palmer 28ea46ecd9 🤖 codex: add RFC DoD + verification steps (n/a)
What:
- add Definition of Done to RFC and align Telegram-first scope
- replace status/health checks with launchd/log verification
- update quickstart, zero-to-clawdis, and agent copypasta

Why:
- match current gateway-only implementation and make verification explicit

Tests:
- not run (docs updates only)
2026-01-02 15:51:26 +01:00
docs 🤖 codex: add RFC DoD + verification steps (n/a) 2026-01-02 15:51:26 +01:00
nix 🤖 codex: remove setup/doctor apps (n/a) 2026-01-02 15:45:52 +01:00
flake.lock 🤖 codex: pin clawdis to upstream beta4 2026-01-02 15:27:28 +01:00
flake.nix 🤖 codex: remove setup/doctor apps (n/a) 2026-01-02 15:45:52 +01:00
README.md 🤖 codex: add RFC DoD + verification steps (n/a) 2026-01-02 15:51:26 +01:00

nix-clawdis

Declarative Clawdis for macOS via Nix.

skip to agent copypasta

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
  • Youll 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:

launchctl print gui/$UID/com.joshp123.clawdis.gateway | grep state
tail -n 50 ~/.clawdis/logs/clawdis-gateway.log

Whats included (v1)

  • macOS-only (nix-darwin + Home Manager)
  • Telegram-first docs + defaults
  • Troubleshooting checklist + verification steps

Not included (v1)

  • Linux/Windows support
  • CI automation

Docs

  • docs/zero-to-clawdis.md — Nix install + bootstrapping
  • docs/agent-copypasta.md — paste into Claude/Codex
  • docs/quickstart-telegram.md — minimal Telegram setup
  • docs/quickstart-whatsapp.md — optional WhatsApp/web setup
  • docs/configuration.md — full option reference
  • docs/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 launchd status + recent logs

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