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