Setup OpenCode and Claude for spacebot container (flakes-pr3i)
Configure OpenCode with the claude-code-plugin (github:unixfox/opencode-claude-code-plugin) in the spacebot incus container, enabling Claude as a coding assistant within spacebot’s environment.
Summary of Changes
- Added
opencode-claude-code-pluginflake input (github:unixfox/opencode-claude-code-plugin, flake=false) - Updated
mixins/home/containers/spacebot.nix:- Added
llm-agents.opencodeandllm-agents.claude-codeto packages - Added
xdg.configFile."opencode/plugins/claude-code"pointing to plugin source
- Added
- Plugin placed at
~/.config/opencode/plugins/claude-codefor OpenCode to load - Also fixed minor bug in spacebot-restart (was calling spacebot-restart instead of spacebot-status)