all repos — nixfiles @ 09fb9945f5b0387d502721aca64122a25bf22861

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

marvin: restart ollama on updates

Alan Pearce
commit

09fb9945f5b0387d502721aca64122a25bf22861

parent

532e47dba876af03c2b034adde633c124d827ba1

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M user/marvin.nixuser/marvin.nix
@@ -32,7 +32,7 @@ launchd.agents = {
ollama = { enable = true; config = { - ProgramArguments = [ "/Users/alan/.local/state/nix/profile/bin/ollama" "serve" ]; + ProgramArguments = [ "${pkgs.ollama}/bin/ollama" "serve" ]; RunAtLoad = true; KeepAlive = true; WorkingDirectory = "/Users/alan";