flake + oc

This commit is contained in:
2026-01-27 18:03:24 +00:00
parent 9c5ee08284
commit 95aef784e1
2 changed files with 34 additions and 30 deletions

View File

@@ -8,12 +8,13 @@
OPENCODE_EXPERIMENTAL_LSP_TOOL = 1;
OPENCODE_ENABLE_EXA = 1;
};
programs.opencode = {
enable = true;
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
settings = {
model = "opencode/gpt-5-2-codex";
small_model = "opencode/glm-4.7";
model = "opencode/kimi-k2.5";
small_model = "opencode/minimax-m2.1";
theme = "catppuccin";
keybinds = {
leader = "ctrl+o";
@@ -28,8 +29,11 @@
};
};
agent = {
plan = {
model = "opencode/gpt-5-2-codex";
};
explore = {
model = "opencode/glm-4.7";
model = "minimax-m2.1";
};
};
instructions = [