antigarvity + flake bump
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
{ pkgs, ... }@all: with all; {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
opencode
|
||||
unstable.opencode
|
||||
];
|
||||
file.".config/opencode/opencode.json".text = let
|
||||
model = "qwen2.5-coder:7b";
|
||||
in builtins.toJSON {
|
||||
"$schema" = "https://opencode.ai/config.json";
|
||||
model = "ollama/${model}";
|
||||
theme = "matrix";
|
||||
provider = {
|
||||
ollama = {
|
||||
name = "Ollama (local)";
|
||||
npm = "@ai-sdk/openai-compatible";
|
||||
options = {
|
||||
baseURL = "http://localhost:11434/v1";
|
||||
};
|
||||
models = {
|
||||
"${model}" = {
|
||||
tools = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# file.".config/opencode/opencode.json".text = let
|
||||
# model = "qwen2.5-coder:7b";
|
||||
# in builtins.toJSON {
|
||||
# "$schema" = "https://opencode.ai/config.json";
|
||||
# model = "ollama/${model}";
|
||||
# theme = "matrix";
|
||||
# provider = {
|
||||
# ollama = {
|
||||
# name = "Ollama (local)";
|
||||
# npm = "@ai-sdk/openai-compatible";
|
||||
# options = {
|
||||
# baseURL = "http://localhost:11434/v1";
|
||||
# };
|
||||
# models = {
|
||||
# "${model}" = {
|
||||
# tools = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
] ++ (if (hyper.host != "NxACE") then [
|
||||
signal-desktop
|
||||
unstable.code-cursor-fhs
|
||||
latest.antigravity
|
||||
obsidian
|
||||
zoom-us
|
||||
inkscape
|
||||
|
||||
Reference in New Issue
Block a user