thanatos: setup gitlab-runner

This commit is contained in:
Antoine Martin 2024-11-20 11:01:35 +01:00
parent 92174a888f
commit c88a7c2475
4 changed files with 20 additions and 0 deletions

View file

@ -35,6 +35,16 @@ in {
};
services = {
gitlab-runner = {
enable = true;
settings = {
concurrent = 4;
};
services.default = {
authenticationTokenConfigFile = config.age.secrets."gitlab-runner/thanatos-runner-env".path;
dockerImage = "debian:stable";
};
};
openssh.enable = true;
};

View file

@ -15,6 +15,7 @@
lib.mapAttrs toSecret {
"users/alarsyo-hashed-password" = {};
"users/root-hashed-password" = {};
"gitlab-runner/thanatos-runner-env" = {};
};
};
}