Fix openclaw config syntax - use external json file

- Move openclaw config to separate json file
- Reference file directly in podman module
- Remove problematic builtins.toJSON with nested arrays

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ashisgreat22 2026-03-18 01:37:46 +01:00
parent a595445bd2
commit ae5e61cb6e
3 changed files with 46 additions and 49 deletions

View file

@ -47,7 +47,7 @@ in
config.sops.templates."openclaw.env".path
];
volumes = [
"${config.sops.templates."openclaw_config.json".path}:/root/.openclaw/config.json:ro"
"${./openclaw-config.json}:/root/.openclaw/config.json:ro"
"openclaw-data:/root/.openclaw"
];
extraOptions = [