all repos — nixfiles @ 71006955d27d37152f024bd7210a07ad1cfbe39d

System and user configuration, managed by nix and home-manager

marvin: remove ollama (replaced with lm-studio)

Alan Pearce
commit

71006955d27d37152f024bd7210a07ad1cfbe39d

parent

6c2ea9b14b9bf0b42cd72310db15ff302bca5eca

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 =