programs.opencode.tui
Home-Manager option
JSON value
TUI-specific configuration written to $XDG_CONFIG_HOME/opencode/tui.json. This includes theme, keybinds, scroll settings, and other TUI-only options. See <https://opencode.ai/docs/tui#configure> for the documentation. Note that "$schema": "https://opencode.ai/tui.json" is automatically added. Since OpenCode v1.2.15, TUI settings must be in a separate tui.json file. Settings like theme, keybinds, and tui in programs.opencode.settings are deprecated and should be moved here.
type: JSON valueDefault
{ }Example
declared in: <home-manager/modules/programs/opencode.nix>source unavailable{ keybinds = { leader = "alt+b"; }; theme = "system"; }