add gitlab runner

This commit is contained in:
Luj 2023-11-16 19:29:17 +01:00
parent 27a49b49bd
commit be84903ec0
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 132 additions and 0 deletions

View file

@ -100,6 +100,21 @@
'';
services.nix-gitlab-runner = {
enable = true;
registrationConfigFile = "/var/lib/gitlab-runner/gitlab_runner";
packages = with pkgs; [ coreutils su bash git ];
};
services.nginx.virtualHosts."phd.julienmalka.me" = {
enableACME = true;
forceSSL = true;
root = "/home/gitlab-runner/artifacts";
};
services.grafana.enable = true;
services.grafana.settings.server.http_port = 3000;
services.prometheus = {