2022-10-06 12:49:48 -03:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
services.gitlab-runner = with lib; {
|
|
|
|
enable = true;
|
|
|
|
concurrent = 4;
|
|
|
|
services = {
|
|
|
|
ci_test = {
|
|
|
|
registrationConfigFile = "/srv/gitlab-runner/env/ci_test";
|
|
|
|
dockerImage = "debian";
|
2022-10-10 21:01:32 -03:00
|
|
|
dockerPrivileged = true;
|
2022-10-06 12:49:48 -03:00
|
|
|
};
|
|
|
|
thoreb_builder = {
|
|
|
|
registrationConfigFile = "/srv/gitlab-runner/env/thoreb_builder";
|
|
|
|
dockerImage = "debian";
|
2022-10-10 21:01:32 -03:00
|
|
|
dockerPrivileged = true;
|
2022-10-06 12:49:48 -03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|