[BREAKGLASS] Packages OpenClaw for nix.
Go to file
Josh Palmer 126bb6c4a8 🤖 codex: document sensible defaults
What: add v1 default behavior section to configuration docs.\nWhy: make expectations explicit for Telegram-first setup.\nTests: not run.
2026-01-02 15:29:18 +01:00
docs 🤖 codex: document sensible defaults 2026-01-02 15:29:18 +01:00
nix 🤖 codex: pin clawdis to upstream beta4 2026-01-02 15:27:28 +01:00
flake.lock 🤖 codex: pin clawdis to upstream beta4 2026-01-02 15:27:28 +01:00
flake.nix 🤖 codex: implement nix-clawdis v1 skeleton 2026-01-02 14:31:24 +01:00
README.md 🤖 codex: implement nix-clawdis v1 skeleton 2026-01-02 14:31:24 +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:

clawdis status
clawdis health

Whats 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 + 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 `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