From a92ff8fe585660c39e0027bda0b5240bbefa1067 Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Thu, 18 Jun 2026 14:00:16 +0200 Subject: [PATCH] Changed OpenCode --- home/opencode.nix | 3 +++ home/shell.nix | 27 --------------------------- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/home/opencode.nix b/home/opencode.nix index 77b8de6..d4f3152 100644 --- a/home/opencode.nix +++ b/home/opencode.nix @@ -24,6 +24,9 @@ _: { "deepseek-r1:1.5b" = { name = "DeepSeek-R1 1.5B"; }; + "gemma4:e2b" = { + name = "Gemma 4 2B Edge"; + }; }; }; }; diff --git a/home/shell.nix b/home/shell.nix index 81c2c83..f595570 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -17,12 +17,6 @@ ripgrep # grep alternative dnsutils - # LLM in the Terminal - (pkgs.llm.withPlugins { - llm-groq = true; - llm-ollama = true; - }) - # Fun stuff zoxide lolcat @@ -181,10 +175,6 @@ starship init nu | save -f ~/.cache/starship/init.nu # fzf picker for nvim 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 = '' starship init nu | save -f ~/.cache/starship/init.nu @@ -232,22 +222,6 @@ echo " |___/|_| |_| "; 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 = { @@ -321,7 +295,6 @@ }; home = { - sessionVariables.OLLAMA_HOST = "http://100.109.179.25:11434"; file = { ".config/fastfetch/config.jsonc".source = ./fastfetch.jsonc; ".config/tabiew/theme.toml".source = ./tabiew.toml;