Make gitea-runner docker work

This commit is contained in:
Ivan Malison 2024-03-11 23:53:55 -06:00
parent 6f2f2c54a7
commit 6e0427d4e0

View File

@ -21,6 +21,7 @@ makeEnable config "modules.gitea-runner" false {
};
hostPackages = with pkgs; [
bash
direnv
coreutils
curl
gawk
@ -29,6 +30,8 @@ makeEnable config "modules.gitea-runner" false {
gitFull
gnused
nodejs
docker
openssh
wget
];
enable = true;
@ -46,4 +49,8 @@ makeEnable config "modules.gitea-runner" false {
XDG_CONFIG_HOME = gitea-runner-directory;
XDG_CACHE_HOME = "${gitea-runner-directory}/.cache";
};
users.users.gitea-runner = {
extraGroups = ["docker"];
home = "/var/lib/gitea-runner";
};
}