Files
dotfiles/home-modules/opencode.nix
Lennart J. Kurzweg (Nx2) fe89a049bd antigarvity + flake bump
2025-11-23 18:01:47 +01:00

30 lines
707 B
Nix

{ pkgs, ... }@all: with all; {
home = {
packages = with pkgs; [
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;
# };
# };
# };
# };
# };
};
}