This commit is contained in:
Martin Pander
2026-04-27 10:37:35 +02:00
parent 360789b171
commit affbd5ccca
6 changed files with 38 additions and 28 deletions

View File

@@ -39,6 +39,7 @@ in
home.packages = with pkgs; [
visidata
codespelunker
jq
];
}

View File

@@ -85,6 +85,14 @@
tug = ["bookmark" "move" "--from" "heads(::@- & bookmarks())" "--to" "@-"];
lg = ["log"];
des = ["describe"];
sq = ["squash"];
};
ui = {
default-command = "log";
pager = "less -FRX";
diff-formatter = ":git";
merge-editor = "vimdiff";
};
};
};

View File

@@ -41,8 +41,8 @@ in
apiKey = config.sops.placeholder.langdock_api_key;
};
models = {
"gpt-5.2" = { name = "GPT-5.2"; };
"gpt-5-mini" = { name = "GPT-5 mini"; };
"gpt-5.4" = { name = "GPT-5.4"; };
"gpt-5.4-mini" = { name = "GPT-5.4 mini"; };
};
};
anthropic = {
@@ -51,23 +51,24 @@ in
apiKey = config.sops.placeholder.langdock_api_key;
};
models = {
"claude-opus-4-7-default" = { name = "Opus 4.7"; };
"claude-opus-4-6-default" = { name = "Opus 4.6"; };
"claude-sonnet-4-6-default" = { name = "Sonnet 4.6"; };
"claude-haiku-4-5-20251001" = { name = "Haiku 4.5"; };
};
whitelist = [ "claude-opus-4-6-default" "claude-sonnet-4-6-default" "claude-haiku-4-5-20251001"];
};
ollama = {
npm = "@ai-sdk/openai-compatible";
name = "Ollama (Local)";
options = {
baseURL = "http://192.168.11.23:11434/v1";
};
models = {
"qwen3-coder:30b" = { name = "Qwen 3 Coder 30B"; };
"codellama:34b-instruct" = { name = "CodeLlama 34B Instruct"; };
};
whitelist = ["claude-opus-4-7-default" "claude-opus-4-6-default" "claude-sonnet-4-6-default" "claude-haiku-4-5-20251001"];
};
# ollama = {
# npm = "@ai-sdk/openai-compatible";
# name = "Ollama (Local)";
# options = {
# baseURL = "http://192.168.11.23:11434/v1";
# };
# models = {
# "qwen3-coder:30b" = { name = "Qwen 3 Coder 30B"; };
# "codellama:34b-instruct" = { name = "CodeLlama 34B Instruct"; };
# };
# };
};
};