nixsearch
38 results for opencl
NameDescription
programs.opencode.agentsCustom agents for opencode.
programs.opencode.commandsCustom commands for opencode.
programs.opencode.contextGlobal context for OpenCode.
programs.opencode.enableWhether to enable opencode.
programs.opencode.enableMcpIntegrationWhether to integrate the MCP servers config from
programs.opencode.extraPackagesExtra packages available to OpenCode.
programs.opencode.packageThe opencode package to use.
programs.opencode.settingsConfiguration written to $XDG_CONFIG_HOME/opencode/opencode.json.
programs.opencode.skillsCustom skills for OpenCode.
programs.opencode.themesCustom themes for opencode.
programs.opencode.toolsCustom tools for opencode.
programs.opencode.tuiTUI-specific configuration written to $XDG_CONFIG_HOME/opencode/tui.json.
programs.opencode.validateFilesWhether to validate the generated configuration files
programs.opencode.validateFiles.configWhether to enable the validation of the generated configuration file
programs.opencode.validateFiles.tuiWhether to enable the validation of the generated configuration file
programs.opencode.web.enableWhether to enable opencode web service.
programs.opencode.web.environmentFilePath to a file containing environment variables for the opencode web
programs.opencode.web.extraArgsExtra arguments to pass to the opencode serve command.
services.openlinkhub.allowGamepadWhether to allow OpenLinkHub's virtual gamepad to be enabled.
services.openlinkhub.dashboard.enableWhether to enable the dashboard.
services.openlinkhub.dashboard.settingsDashboard configuration to be merged into dashboard.json.
services.openlinkhub.enableWhether to enable OpenLinkHub.
services.openlinkhub.extraConfigsAdditional files to be written to $XDG_CONFIG_HOME/OpenLinkHub.
services.openlinkhub.extraConfigs."config.json"Configuration to be written to config.json.
services.openlinkhub.extraConfigs."dashboard.json"Configuration to be written to dashboard.json.
services.openlinkhub.memory.enableWhether to enable memory configuration.
services.openlinkhub.memory.skuThe SKU of the device.
services.openlinkhub.memory.smbThe SMBus controller for the device.
services.openlinkhub.memory.typeWhich generation the device belongs to.
services.openlinkhub.packageThe openlinkhub package to use.
services.openlinkhub.settingsConfiguration to be merged into config.json.
services.openlinkhub.settings.frontendWhether to enable the dashboard.
services.openlinkhub.settings.listenAddressWhich local address the dashboard should listen from.
services.openlinkhub.settings.listenPortWhich port the dashboard should listen from.
services.openlinkhub.settings.memoryWhether to enable the memory configuration.
services.openlinkhub.settings.memorySkuThe SKU of the device.
services.openlinkhub.settings.memorySmBusThe SMBus controller for the device.
services.openlinkhub.settings.memoryTypeWhich generation the device belongs to.

programs.opencode.tools

home-manager/option · master · dfadbe51
✕ Close

Description

Custom tools for opencode.

This option can either be:

  • An attribute set defining tools
  • A path to a directory containing multiple tool files

If an attribute set is used, the attribute name becomes the tool filename, and the value is either:

  • Inline content as a string (creates opencode/tools/<name>.ts)
  • A path to a file (creates opencode/tools/<name>.ts or opencode/tools/<name>.js)

If a path is used, it is expected to contain tool files. The directory is symlinked to $XDG_CONFIG_HOME/opencode/tools/.

See https://opencode.ai/docs/tools/ for the documentation.

Type

(attribute set of (strings concatenated with "\n" or absolute path)) or absolute path

Default

{ }

Example

{
database-query = ''
import { tool } from "@opencode-ai/plugin"
export default tool({
description: "Query the project database",
args: {
query: tool.schema.string().describe("SQL query to execute"),
},
async execute(args) {
// Your database logic here
return `Executed query: ${args.query}`
},
})
'';
# Or reference an existing file
api-client = ./tools/api-client.ts;
}

Declared