Set primary group

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

View file

@ -23,6 +23,7 @@ in {
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
users.users.gitea-runner.group = "gitea-runner"; users.users.gitea-runner.group = "gitea-runner";
users.groups.gitea-runner = "gitea-runner";
users.users.gitea-runner.extraGroups = [ "docker" ]; users.users.gitea-runner.extraGroups = [ "docker" ];
users.users.gitea-runner.isNormalUser = true; users.users.gitea-runner.isNormalUser = true;