Skip to content

Conversation

@andreabadesso
Copy link

@andreabadesso andreabadesso commented Jan 24, 2026

Summary

Fixes nix-clawdbot on Linux headless servers.

The module was failing on Linux because:

  1. First-party plugins (peekaboo, summarize) defaulted to enabled but depend on macOS-only packages
  2. The memory plugin doesn't exist on headless servers, causing "plugin not found: memory-core" error
  3. Config schema was outdated (telegram → channels.telegram, byProvider → byChannel)
  4. providers.anthropic.apiKeyFile was not included in generated config, causing "No API key found" error

@andreabadesso andreabadesso marked this pull request as draft January 24, 2026 02:55
@andreabadesso andreabadesso force-pushed the fix/linux-first-party-defaults branch 5 times, most recently from 3896db8 to 1a49a3c Compare January 24, 2026 03:58
- Use portable paths (run mkdir/ln) instead of hardcoded /bin paths
- Update config format for clawdbot schema changes
- Disable memory slot on Linux (plugins.slots.memory = "none")
- Update to upstream clawdbot main (includes memory slot none fix)
@andreabadesso andreabadesso force-pushed the fix/linux-first-party-defaults branch from 1a49a3c to 34261f1 Compare January 24, 2026 04:03
@andreabadesso andreabadesso marked this pull request as ready for review January 24, 2026 04:03
@andreabadesso andreabadesso marked this pull request as draft January 24, 2026 16:15
When providers.anthropic.apiKeyFile is set, generate the correct
auth.profiles structure in clawdbot.json. The API key itself is
passed via ANTHROPIC_API_KEY env var in the gateway wrapper.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@andreabadesso andreabadesso force-pushed the fix/linux-first-party-defaults branch from 2ea6216 to c8f79d6 Compare January 24, 2026 16:41
dominicnunez added a commit to dominicnunez/clawdbot-nix that referenced this pull request Jan 24, 2026
…tbot#10

Incorporates fixes from upstream nix-clawdbot PRs:

- Add aarch64-linux to supported systems (PR #3, moltbot#10)
- Expose agent-first template in flake outputs (PR #2)
- Update schema: telegram -> channels.telegram, byProvider -> byChannel (PR moltbot#9, moltbot#10)
- Fix defaultInstance missing attributes: agent, gatewayPath, launchd/systemd labels (PR moltbot#7)
- Use resolvePath for systemd service paths to handle ~ expansion (PR moltbot#10)
- Default macOS-only first-party plugins (summarize, peekaboo) to disabled on Linux (PR moltbot#9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant