Changed OpenCode

This commit is contained in:
2026-06-18 14:00:16 +02:00
parent c242370ae8
commit a92ff8fe58
2 changed files with 3 additions and 27 deletions
+3
View File
@@ -24,6 +24,9 @@ _: {
"deepseek-r1:1.5b" = { "deepseek-r1:1.5b" = {
name = "DeepSeek-R1 1.5B"; name = "DeepSeek-R1 1.5B";
}; };
"gemma4:e2b" = {
name = "Gemma 4 2B Edge";
};
}; };
}; };
}; };
-27
View File
@@ -17,12 +17,6 @@
ripgrep # grep alternative ripgrep # grep alternative
dnsutils dnsutils
# LLM in the Terminal
(pkgs.llm.withPlugins {
llm-groq = true;
llm-ollama = true;
})
# Fun stuff # Fun stuff
zoxide zoxide
lolcat lolcat
@@ -181,10 +175,6 @@
starship init nu | save -f ~/.cache/starship/init.nu starship init nu | save -f ~/.cache/starship/init.nu
# fzf picker for nvim # fzf picker for nvim
def f [] { nvim (fzf) } def f [] { nvim (fzf) }
# llm | glow ollama (local/tailscale)
def l [...args] { llm prompt -m llama3.2:3b -t std ...$args | glow }
# llm | glow groq (cloud)
def lgroq [...args] { llm prompt -m groq/llama-3.3-70b-versatile -t std ...$args | glow }
''; '';
extraEnv = '' extraEnv = ''
starship init nu | save -f ~/.cache/starship/init.nu starship init nu | save -f ~/.cache/starship/init.nu
@@ -232,22 +222,6 @@
echo " |___/|_| |_| "; echo " |___/|_| |_| ";
end end
''; '';
functions = {
l = {
body = ''
llm prompt -m llama3.2:3b -t std $argv | glow
'';
};
lgroq = {
body = ''
if test -f "$GROQ_API_KEY"
set -x GROQ_API_KEY (cat $GROQ_API_KEY)
end
llm prompt -m groq/llama-3.3-70b-versatile -t std $argv | glow
'';
};
};
}; };
starship = { starship = {
@@ -321,7 +295,6 @@
}; };
home = { home = {
sessionVariables.OLLAMA_HOST = "http://100.109.179.25:11434";
file = { file = {
".config/fastfetch/config.jsonc".source = ./fastfetch.jsonc; ".config/fastfetch/config.jsonc".source = ./fastfetch.jsonc;
".config/tabiew/theme.toml".source = ./tabiew.toml; ".config/tabiew/theme.toml".source = ./tabiew.toml;