feat: Add openclaw for shiro
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s

This commit is contained in:
2026-03-11 12:20:20 +05:30
parent 2d2a7e6765
commit b17b2ab977
2 changed files with 29 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
./sops.nix
./sunshine.nix
./tailscale.nix
./openclaw.nix
./yabai.nix
];
}

View File

@@ -0,0 +1,28 @@
{
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";
};
};
}