fix: set gateway.mode=local for openclaw on phantom-ship 🔧

This commit is contained in:
DannyDannyDanny 2026-04-03 14:36:57 +02:00
parent 49165590a6
commit 0de86837df

View file

@ -88,6 +88,7 @@ in
enable = true; enable = true;
environmentFiles = [ "/etc/openclaw/env" ]; environmentFiles = [ "/etc/openclaw/env" ];
config = { config = {
gateway.mode = "local";
channels.telegram = { channels.telegram = {
tokenFile = "/etc/openclaw/telegram-bot-token"; tokenFile = "/etc/openclaw/telegram-bot-token";
allowFrom = openclawAllowFrom; allowFrom = openclawAllowFrom;
@ -98,7 +99,7 @@ in
# Pull dotfiles and rebuild if the repo has new commits. # Pull dotfiles and rebuild if the repo has new commits.
systemd.services.dotfiles-rebuild = { systemd.services.dotfiles-rebuild = {
description = "Pull dotfiles and run nixos-rebuild if repo changed"; description = "Pull dotfiles and run nixos-rebuild if repo changed";
path = with pkgs; [ git nix ]; path = with pkgs; [ git nix nixos-rebuild ];
environment.GIT_CONFIG_COUNT = "1"; environment.GIT_CONFIG_COUNT = "1";
environment.GIT_CONFIG_KEY_0 = "safe.directory"; environment.GIT_CONFIG_KEY_0 = "safe.directory";
environment.GIT_CONFIG_VALUE_0 = dotfilesDir; environment.GIT_CONFIG_VALUE_0 = dotfilesDir;