feat: Add openclaw for shiro
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
./sops.nix
|
./sops.nix
|
||||||
./sunshine.nix
|
./sunshine.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
|
./openclaw.nix
|
||||||
./yabai.nix
|
./yabai.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
28
darwin/shiro/services/openclaw.nix
Normal file
28
darwin/shiro/services/openclaw.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user