Skip to content

Conversation

@uos-status
Copy link

@uos-status uos-status commented Jan 25, 2026

Problem

By default, the nix-clawdbot Home Manager module manages all configuration and document files by symlinking them from the Nix store. This prevents the application from modifying its own configuration (e.g., during onboard or via UI) and makes it difficult for users to manually edit files in the workspace without changing their Nix configuration.

Users may want to manage configuration via Nix but let the bot manage its own documents, or vice versa.

Solution

Added two new options to the Home Manager module:

  1. programs.clawdbot.manageConfig (default: true)
    • When false, the clawdbot.json configuration file is not managed or symlinked by Nix.
  2. programs.clawdbot.manageDocuments (default: true)
    • When false, document files, skill files, and plugin files in the workspace are not managed or symlinked by Nix.
    • Activation guards for documents and plugins are disabled.

This provides granular control over which parts of the Clawdbot workspace are managed declaratively via Nix and which are left to the application or manual management.

Files Modified

  • nix/modules/home-manager/clawdbot.nix

Additional Info. This is based off this PR:

#9

andreabadesso and others added 5 commits January 24, 2026 01:03
- 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)
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>
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.

2 participants