MyNixOS website logo
option

programs.opencode.web.extraArgs

Extra arguments to pass to the opencode serve command.

These arguments override the "server" options defined in the configuration file. See https://opencode.ai/docs/web/#config-file for available options.

Declarations
Type
list of string
Default
[ ]
Example
[
  "--hostname"
  "0.0.0.0"
  "--port"
  "4096"
  "--mdns"
  "--cors"
  "https://example.com"
  "--cors"
  "http://localhost:3000"
  "--print-logs"
  "--log-level"
  "DEBUG"
]