From bec97c3f17fa23689e1eed53bc69e4eb651b83a3 Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Sun, 24 May 2026 23:48:13 -0800 Subject: [PATCH] ensure gitea-runner owns its ubuntu state dir The directory was created by the old DynamicUser (uid 63182). Add a tmpfiles rule to guarantee correct ownership after any rebuild. Co-Authored-By: Claude Sonnet 4.6 --- nixos/linux.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/linux.nix b/nixos/linux.nix index 86f2b0d..e384fcb 100644 --- a/nixos/linux.nix +++ b/nixos/linux.nix @@ -172,6 +172,7 @@ in { "d /root/.config 0755 ${username} users" "d /var/riverside/files 0755 root root" "d /var/riverside/postgres 0755 root root" + "d /var/lib/gitea-runner/ubuntu 0755 gitea-runner gitea-runner" ]; networking.hostName = "${hostname}";