Begin Dendritic rewrite

This commit is contained in:
2026-03-06 16:24:53 -06:00
parent f3a90a0fe8
commit c1684a80f7
99 changed files with 4375 additions and 4643 deletions

View File

@@ -1,48 +1,51 @@
{ config, lib, ... }: {
{ ... }: {
options.homeconfig.opencode.enable = with lib; mkOption {
type = with types; bool;
default = true;
};
flake.homeModules.nathan = { config, lib, ... }: {
config = lib.mkIf config.homeconfig.opencode.enable {
options.homeconfig.opencode.enable = with lib; mkOption {
type = with types; bool;
default = true;
};
programs.opencode = {
enable = true;
config = lib.mkIf config.homeconfig.opencode.enable {
settings = {
theme = "system";
model = "ollama-remote/qwen3:8b";
programs.opencode = {
enable = true;
provider = {
ollama-local = {
name = "Ollama (local)";
settings = {
theme = "system";
model = "ollama-remote/qwen3:8b";
npm = "@ai-sdk/openai-compatible";
provider = {
ollama-local = {
name = "Ollama (local)";
options.baseURL = "http://localhost:11434/v1";
npm = "@ai-sdk/openai-compatible";
options.baseURL = "http://localhost:11434/v1";
models = {
"ministral-3:8b".name = "Ministral 3 8B";
"llama3.2".name = "Llama 3.2";
"qwen3:8b".name = "Qwen 3";
};
models = {
"ministral-3:8b".name = "Ministral 3 8B";
"llama3.2".name = "Llama 3.2";
"qwen3:8b".name = "Qwen 3";
};
};
ollama-remote = {
name = "Ollama (remote)";
ollama-remote = {
name = "Ollama (remote)";
npm = "@ai-sdk/openai-compatible";
npm = "@ai-sdk/openai-compatible";
options.baseURL = "https://ollama.esotericbytes.com/v1";
options.baseURL = "https://ollama.esotericbytes.com/v1";
models = {
"ministral-3:8b".name = "Ministral 3 8B";
"llama3.2".name = "Llama 3.2";
"qwen3:8b".name = "Qwen 3";
};
models = {
"ministral-3:8b".name = "Ministral 3 8B";
"llama3.2".name = "Llama 3.2";
"qwen3:8b".name = "Qwen 3";
};
};
};
};