From 0de86837dff8b6bea5688c6f95b40de66440206d Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Fri, 3 Apr 2026 14:36:57 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20set=20gateway.mode=3Dlocal=20for=20openc?= =?UTF-8?q?law=20on=20phantom-ship=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nixos/hosts/phantom-ship.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/phantom-ship.nix b/nixos/hosts/phantom-ship.nix index c42fde5..6a3dbb9 100644 --- a/nixos/hosts/phantom-ship.nix +++ b/nixos/hosts/phantom-ship.nix @@ -88,6 +88,7 @@ in enable = true; environmentFiles = [ "/etc/openclaw/env" ]; config = { + gateway.mode = "local"; channels.telegram = { tokenFile = "/etc/openclaw/telegram-bot-token"; allowFrom = openclawAllowFrom; @@ -98,7 +99,7 @@ in # Pull dotfiles and rebuild if the repo has new commits. systemd.services.dotfiles-rebuild = { 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_KEY_0 = "safe.directory"; environment.GIT_CONFIG_VALUE_0 = dotfilesDir;