opencode config update

This commit is contained in:
Joakim Repomaa
2026-03-07 12:41:18 +02:00
parent 167d446144
commit a05fd03aa8

View File

@@ -626,11 +626,12 @@
xdg.configFile."opencode/opencode.jsonc".text = builtins.toJSON {
"$schema" = "https://opencode.ai/config.json";
model = "opencode/kimi-k2.5";
small_model = "opencode/minimax-m2.1";
model = "opencode-go/glm-5";
small_model = "opencode-go/kimi-k2.5";
agent = {
explore.model = "opencode/minimax-m2.1";
explore.model = "opencode-go/kimi-k2.5";
};
theme = "system";
lsp = {
ruby-lsp = {
initialization = {
@@ -665,7 +666,6 @@
"bundle"
"exec"
"ruby-lsp"
"--lsp"
];
};
rubocop = {
@@ -681,27 +681,20 @@
".haml"
];
};
nil = {
command = [
(lib.getExe pkgs.nil)
];
extensions = [ ".nix" ];
};
ameba-ls = {
command = [
(lib.getExe pkgs-unstable.ameba-ls)
];
extensions = [ ".cr" ];
};
};
mcp = {
memory = {
type = "local";
command = [
"npx"
"-y"
"@modelcontextprotocol/server-memory"
];
};
browser = {
type = "local";
command = [
"npx"
"-y"
"@agent-infra/mcp-server-browser"
"--headless"
"--executable-path"
(lib.getExe pkgs-unstable.chromium)
];
};
context7 = {
type = "remote";
url = "https://mcp.context7.com/mcp";