MyNixOS website logo

Configuration written to $XDG_CONFIG_HOME/opencode/config.json. See https://opencode.ai/docs/config/ for the documentation. '"$schema": "https://opencode.ai/config.json"' is automatically added to the config.

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