create user, add docker group.
This commit is contained in:
parent
20649ab209
commit
5902f1ee92
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ in {
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
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 = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-actions-runner;
|
package = pkgs.forgejo-actions-runner;
|
||||||
instances.default = {
|
instances.default = {
|
||||||
|
|
Loading…
Reference in a new issue