From f3854af82aea94bc455bbf1cdfc4c5cb5627fdfb Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Fri, 3 Apr 2026 14:38:03 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20grant=20openclaw=20write=20access=20to?= =?UTF-8?q?=20config=20dir=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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/hosts/phantom-ship.nix b/nixos/hosts/phantom-ship.nix index 6a3dbb9..436320e 100644 --- a/nixos/hosts/phantom-ship.nix +++ b/nixos/hosts/phantom-ship.nix @@ -96,6 +96,11 @@ in }; }; + # OpenClaw gateway needs write access to its config dir for runtime state. + systemd.tmpfiles.rules = [ + "d /etc/openclaw 0775 root openclaw - -" + ]; + # Pull dotfiles and rebuild if the repo has new commits. systemd.services.dotfiles-rebuild = { description = "Pull dotfiles and run nixos-rebuild if repo changed";