From 5902f1ee9207ae16b344029dec9380330ce54eb0 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 14 May 2024 13:38:39 -0500 Subject: [PATCH] create user, add docker group. --- agents/linux.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/agents/linux.nix b/agents/linux.nix index ac6803b..3c81ead 100644 --- a/agents/linux.nix +++ b/agents/linux.nix @@ -22,6 +22,10 @@ in { virtualisation.docker.enable = true; + users.users.gitea-runner.group = "gitea-runner"; + users.users.gitea-runner.extraGroups = [ "docker" ]; + users.users.gitea-runner.isNormalUser = true; + services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.default = {