programs.opencode.web.extraArgs

Extra arguments to pass to the opencode web command.

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

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"
]
Declared
<home-manager/modules/programs/opencode.nix>