From aee8dbda75c6505510a5f11df6782e4ea7550040 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Sun, 14 Jun 2026 03:45:28 -0700 Subject: [PATCH] openclaw: mount gateway node_modules into control center for CLI access Control center runs 'openclaw status --json' as a subprocess to probe the gateway. Mount the gateway install volume and set OPENCLAW_BIN_PATH so the control center can find the binary. Co-Authored-By: Claude Sonnet 4.6 --- nixos/arion-openclaw/arion-compose.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/arion-openclaw/arion-compose.nix b/nixos/arion-openclaw/arion-compose.nix index 2e56054..bc0a065 100644 --- a/nixos/arion-openclaw/arion-compose.nix +++ b/nixos/arion-openclaw/arion-compose.nix @@ -37,12 +37,14 @@ network_mode = "host"; volumes = [ "/var/openclaw/app:/app" + "/var/openclaw/gateway:/gateway" "/root/.openclaw:/root/.openclaw:ro" ]; environment = { PORT = "4310"; UI_BIND_ADDRESS = "127.0.0.1"; OPENCLAW_HOME = "/root/.openclaw"; + OPENCLAW_BIN_PATH = "/gateway/node_modules/.bin/openclaw"; }; command = [ "sh" "-c"