all repos — nixfiles @ 09fb9945f5b0387d502721aca64122a25bf22861

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

marvin: restart ollama on updates
Alan Pearce alan@alanpearce.eu
Sun, 09 Mar 2025 10:39:37 +0100
commit

09fb9945f5b0387d502721aca64122a25bf22861

parent

532e47dba876af03c2b034adde633c124d827ba1

1 files changed, 1 insertions(+), 1 deletions(-)

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";