programs.opencode.settings

Home-Manager option

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.

type: JSON value
Default
{ }
Example
{ theme = "opencode"; model = "anthropic/claude-sonnet-4-20250514"; autoshare = false; autoupdate = true; }
declared in: <home-manager/modules/programs/opencode.nix>source unavailable