opencode flake config update
This commit is contained in:
6
nix/flakes/opencode/flake.lock
generated
6
nix/flakes/opencode/flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752781635,
|
"lastModified": 1759520046,
|
||||||
"narHash": "sha256-eveRosa7OLVqCbAccV5Azu7ICM1s7xPulWsLQU0bnig=",
|
"narHash": "sha256-BQJmMDKfJ9AVaYPFaVqPrjEcfeao2JjBmXh3jWNRZjM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "981f2095b201d5f61e81c6cecc054c3a2a130d0b",
|
"rev": "932892fb1c315bc8f2e311bbb2ba44f997dec361",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -12,17 +12,22 @@
|
|||||||
"$schema" = "https://opencode.ai/config.json";
|
"$schema" = "https://opencode.ai/config.json";
|
||||||
theme = "github";
|
theme = "github";
|
||||||
provider = {
|
provider = {
|
||||||
ollama = {
|
snow = {
|
||||||
npm = "@ai-sdk/openai-compatible";
|
npm = "@ai-sdk/openai-compatible";
|
||||||
options = {
|
options = {
|
||||||
baseURL = "http://ai-snow.reindeer-pinecone.ts.net:11434/v1";
|
baseURL = "http://ai-snow.reindeer-pinecone.ts.net:9292/v1";
|
||||||
};
|
};
|
||||||
models = {
|
models = {
|
||||||
# "llama3.1:70b" = { };
|
"gpt-oss-120b" = { };
|
||||||
"deepseek-r1:70b" = { };
|
};
|
||||||
# "mistral:latest" = { };
|
};
|
||||||
"qwen3:32b" = { };
|
home = {
|
||||||
# "alibayram/Qwen3-30B-A3B-Instruct-2507" = { };
|
npm = "@ai-sdk/openai-compatible";
|
||||||
|
options = {
|
||||||
|
baseURL = "http://openwebui.beefalo-newton.ts.net:9292/v1";
|
||||||
|
};
|
||||||
|
models = {
|
||||||
|
"gpt-oss-20b" = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -93,8 +93,6 @@ in {
|
|||||||
|
|
||||||
set -x LIBVIRT_DEFAULT_URI qemu:///system
|
set -x LIBVIRT_DEFAULT_URI qemu:///system
|
||||||
set -x TERM xterm-256color # ghostty
|
set -x TERM xterm-256color # ghostty
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
home.file = {
|
home.file = {
|
||||||
|
|||||||
Reference in New Issue
Block a user