Files
dotfiles/darwin/shiro/services/openclaw.nix
servius b17b2ab977
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
feat: Add openclaw for shiro
2026-03-11 12:20:20 +05:30

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