Files
dotfiles/darwin/shiro/services/openclaw.nix
servius 96a92bd67f
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m22s
feat: Update openclaw stuff
2026-03-11 12:45:24 +05:30

35 lines
789 B
Nix

{
pkgs,
lib,
config,
...
}: {
nixpkgs.config.permittedInsecurePackages = [
"openclaw-2026.2.26"
];
environment.systemPackages = with pkgs; [
ollama
openclaw
];
launchd.agents.openclaw = {
# enable = true;
script = ''
${lib.getExe pkgs.ollama} launch openclaw --model qwen3.5:9b
'';
# 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";
# };
};
}