Files
dotfiles/legacy/.config/opencode/opencode.jsonc
T
artem c6a08cb43a
Nix Flake Check / check (push) Successful in 50s
Move to .jsonc and move a few things around
2026-07-27 21:10:47 +00:00

96 lines
1.8 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
// "take me offline" block
"experimental": { "openTelemetry": false },
"share": "disabled",
"autoupdate": false,
"disabled_providers": ["opencode", "exa"],
"provider": {
"local-ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama",
"options": {
"baseURL": "http://ollama.home.arpa:11434/v1",
"apiKey": "ollama"
},
"models": {
"gemma4-1gpu": {
"limit": {
"context": 48000,
"output": 8192
},
"tools": true
},
"qwen3.6-1gpu": {
"limit": {
"context": 128000,
"output": 8192
},
"tools": true
}
}
}
},
// "model": "local-ollama/qwen2.5-coder:14b",
"model": "local-ollama/qwen3.6-200k",
"compaction": {
"auto": true,
"prune": true,
"threshold": 0.75,
"preserve_recent_tokens": 8192,
"reserved": 16384
},
"tool_output": {
"max_bytes": 16384,
"max_lines": 200
},
"agent": {
"build": {
"steps": 1000
}
},
"mcp": {
"nix": {
"type": "local",
"command": [
"nix",
"run",
"github:utensils/mcp-nixos",
"--"
],
"enabled": true
},
"gitea": {
"type": "local",
"command": [
"nix",
"run",
"nixpkgs#gitea-mcp-server",
"--"
],
"enabled": false
},
"ha": {
"type": "local",
"command": [
"nix",
"shell",
"nixpkgs#uv",
"nixpkgs#python3",
"--command",
"uv",
"tool",
"run",
"ha-mcp"
],
"environment": {
"UV_PYTHON_DOWNLOADS": "never",
"UV_PYTHON_PREFERENCE": "system"
},
"enabled": false
}
}
}