create user, add docker group.

This commit is contained in:
Joseph Hanson 2024-05-14 13:38:39 -05:00
parent 20649ab209
commit 5902f1ee92
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -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 = {