opencode hm config

This commit is contained in:
m3tm3re
2026-01-04 03:49:13 +01:00
parent f615f3bd6a
commit b2cdc7db2a
9 changed files with 98 additions and 16 deletions

View File

@@ -24,6 +24,7 @@
model = "ggml-large-v3-turbo";
notifyTimeout = 2000;
};
programs.carapace = {
enable = true;
enableFishIntegration = true;
@@ -197,11 +198,6 @@
};
home.packages = with pkgs; [
agenix-cli
alejandra
bc
bun
claude-code
comma
coreutils
devenv

View File

@@ -1,5 +1,14 @@
{pkgs, ...}: {
imports = [
./opencode.nix
];
home.packages = with pkgs; [
agenix-cli
alejandra
beads
bc
bun
claude-code
devpod
#devpod-desktop
code2prompt

View File

@@ -0,0 +1,50 @@
{
programs.opencode = {
enable = true;
settings = {
theme = "opencode";
plugin = ["oh-my-opencode"];
mcp = {
Ref = {
type = "local";
command = [
"sh"
"-c"
"REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"
];
enabled = true;
};
};
};
};
home.file.".config/opencode/oh-my-opencode.json".text = ''
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"agents": {
"Sisyphus": {
"model": "anthropic/claude-opus-4-5"
},
"librarian": {
"model": "anthropic/claude-sonnet-4-5"
},
"explore": {
"model": "opencode/big-pickle"
},
"oracle": {
"model": "anthropic/claude-sonnet-4-5"
},
"frontend-ui-ux-engineer": {
"model": "anthropic/claude-opus-4-5"
},
"document-writer": {
"model": "anthropic/claude-opus-4-5"
},
"multimodal-looker": {
"model": "anthropic/claude-opus-4-5"
}
},
"disabled_mcps": ["context7"]
}
'';
}