MyNixOS website logo

Configuration written to $XDG_CONFIG_HOME/opencode/config.json. See https://opencode.ai/docs/config/ for the documentation.

Note, "$schema": "https://opencode.ai/config.json" is automatically added to the configuration.

Declarations
Type
JSON value
Default
{ }
Example
{
  theme = "opencode";
  model = "anthropic/claude-sonnet-4-20250514";
  autoshare = false;
  autoupdate = true;
}