programs.opencode.settings
Configuration written to $XDG_CONFIG_HOME/opencode/opencode.json. See https://opencode.ai/docs/config/ for the documentation.
Note, "$schema": "https://opencode.ai/config.json" is automatically added to the configuration.
- Type
JSON value- Default
{ }- Example
{ theme = "opencode"; model = "anthropic/claude-sonnet-4-20250514"; autoshare = false; autoupdate = true; }- Declared
- <home-manager/modules/programs/opencode.nix>