Moving Hermes and Ollama out of the managed configuration in to brew, Hermes is installed manually.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{ pkgs, llm-agents, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
|
||||
ollama
|
||||
|
||||
# CLI coding agent from llm-agents.nix input
|
||||
llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.hermes-agent
|
||||
|
||||
# Hermes desktop GUI
|
||||
llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.hermes-desktop
|
||||
];
|
||||
|
||||
launchd.user.agents.ollama = {
|
||||
command = "${pkgs.ollama}/bin/ollama serve";
|
||||
serviceConfig = {
|
||||
KeepAlive = true;
|
||||
RunAtLoad = true;
|
||||
StandardOutPath = "/tmp/ollama.out.log";
|
||||
StandardErrorPath = "/tmp/ollama.err.log";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user