Skip to content

feat(tom): add openclaw-gateway as a system service#81

Merged
theorderingmachine merged 1 commit intomainfrom
feat/openclaw-gateway
Apr 5, 2026
Merged

feat(tom): add openclaw-gateway as a system service#81
theorderingmachine merged 1 commit intomainfrom
feat/openclaw-gateway

Conversation

@theorderingmachine
Copy link
Copy Markdown
Collaborator

Adds the nix-openclaw flake input and enables the openclaw-gateway NixOS module on TOM. This runs the OpenClaw gateway under a dedicated openclaw system user with persistent state at /var/lib/openclaw.

Changes

  • Add nix-openclaw flake input (follows nixpkgs)
  • Import openclaw-gateway NixOS module in the tom NixOS configuration
  • Create machines/tom/services/openclaw-gateway/default.nix with service config
  • Persist /var/lib/openclaw across reboots via impermanence

Notes

  • The gateway listens on port 18789 (default) — you may want to add this to the firewall allowedTCPPorts if external access is needed
  • environmentFiles can be used to inject secrets (API keys, tokens) via sops — not wired up yet since I don't know the secret structure you'd want
  • The module creates the openclaw user/group automatically via createUser = true (default)

@theorderingmachine theorderingmachine force-pushed the feat/openclaw-gateway branch 3 times, most recently from f9a52aa to ea46521 Compare April 5, 2026 01:02
Adds the nix-openclaw flake input and enables the openclaw-gateway
NixOS module on TOM. This runs the OpenClaw gateway under a dedicated
'openclaw' system user with persistent state at /var/lib/openclaw.

Changes:
- Add nix-openclaw flake input (follows nixpkgs)
- Import openclaw-gateway NixOS module in tom configuration
- Create machines/tom/services/openclaw-gateway/default.nix
- Persist /var/lib/openclaw across reboots (impermanence)
@theorderingmachine theorderingmachine merged commit c8c7f3c into main Apr 5, 2026
4 of 5 checks passed
@theorderingmachine theorderingmachine deleted the feat/openclaw-gateway branch April 5, 2026 01:03
theorderingmachine added a commit that referenced this pull request Apr 5, 2026
@zimeg zimeg restored the feat/openclaw-gateway branch April 5, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant