diff --git a/modules/openclaw.nix b/modules/openclaw.nix index d143025..5f681d1 100644 --- a/modules/openclaw.nix +++ b/modules/openclaw.nix @@ -92,7 +92,7 @@ in ExecStartPre = [ "${pkgs.coreutils}/bin/mkdir -p ${configDir} ${dataDir} ${workspaceDir}" - "${pkgs.coreutils}/bin/cp -n /etc/openclaw/openclaw.json ${configDir}/ || true" + "${pkgs.bash}/bin/bash -c 'cp -n /etc/openclaw/openclaw.json ${configDir}/ || true'" ]; ExecStart = "${pkgs.nodejs_22}/bin/npx openclaw gateway start --port ${toString cfg.port}";