From 3b7612ab27a58436c4f9e31f1a0327c417c25f85 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 7 May 2024 20:56:54 +0200 Subject: [PATCH] fix(forgejo-runner): add gitea-runner user --- hosts/ami/forgejo-action-runner.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/ami/forgejo-action-runner.nix b/hosts/ami/forgejo-action-runner.nix index 573b49e..1a94521 100644 --- a/hosts/ami/forgejo-action-runner.nix +++ b/hosts/ami/forgejo-action-runner.nix @@ -28,4 +28,11 @@ in { enable = true; autoPrune.enable = true; }; + + users.groups.gitea-runner = {}; + users.users.gitea-runner = { + isSystemUser = true; + group = "gitea-runner"; + home = "/var/lib/gitea-runner/"; + }; }