All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
29 lines
587 B
Nix
29 lines
587 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
environment.systemPackages = with pkgs; [
|
|
ollama
|
|
openclaw
|
|
];
|
|
launchd.agents.openclaw = {
|
|
enable = true;
|
|
config = {
|
|
Label = "com.openclaw";
|
|
ProgramArguments = [
|
|
"${lib.getExe pkgs.ollama}"
|
|
"launch"
|
|
"openclaw"
|
|
"--model"
|
|
"qwen3.5:9b"
|
|
];
|
|
RunAtLoad = true;
|
|
KeepAlive = false;
|
|
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/openclaw.log";
|
|
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/openclaw.error.log";
|
|
};
|
|
};
|
|
}
|