programs.opencode.web.extraArgs

Home-Manager option

list of string

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.

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 in: <home-manager/modules/programs/opencode.nix>source unavailable