marvin: remove ollama (replaced with lm-studio)
1 file changed, 0 insertions(+), 24 deletions(-)
changed files
M user/hosts/marvin.nix → user/hosts/marvin.nix
@@ -38,7 +38,6 @@ home.homeDirectory = "/Users/alan"; home.stateVersion = "22.11"; home.packages = with pkgs; [ picocom - ollama llama-cpp ];@@ -62,31 +61,8 @@ home.sessionPath = [ "/Library/Developer/CommandLineTools/usr/bin" ]; - home.sessionVariables = { - OLLAMA_API_BASE = "http://localhost:11434"; - }; launchd.agents = { - ollama = { - enable = true; - config = { - ProgramArguments = [ - "${pkgs.ollama}/bin/ollama" - "serve" - ]; - RunAtLoad = true; - KeepAlive = true; - WorkingDirectory = "/Users/alan"; - StandardOutPath = "/Users/alan/Library/Logs/ollama.log"; - StandardErrorPath = "/Users/alan/Library/Logs/ollama.log"; - EnvironmentVariables = { - OLLAMA_HOST = "[::]:11434"; - OLLAMA_KEEP_ALIVE = "43200"; # keep models in memory for half a day - OLLAMA_FLASH_ATTENTION = "1"; # significantly reduce memory usage as the context size grows - OLLAMA_CONTEXT_LENGTH = "131072"; - }; - }; - }; llama-server = { enable = true; config =