2024-05-30 16:54:58 -03:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
2024-04-06 20:51:48 -03:00
|
|
|
services.gitea-actions-runner = {
|
|
|
|
package = pkgs.forgejo-actions-runner;
|
|
|
|
instances.default = {
|
|
|
|
enable = true;
|
|
|
|
name = "monolith";
|
2024-05-16 01:17:57 -03:00
|
|
|
url = "https://git.lelgenio.com";
|
2024-04-06 20:51:48 -03:00
|
|
|
tokenFile = config.age.secrets.monolith-forgejo-runner-token.path;
|
|
|
|
labels = [
|
|
|
|
# provide a debian base with nodejs for actions
|
|
|
|
"debian-latest:docker://node:18-bullseye"
|
|
|
|
# fake the ubuntu name, because node provides no ubuntu builds
|
|
|
|
"ubuntu-latest:docker://node:18-bullseye"
|
|
|
|
# provide native execution on the host
|
|
|
|
#"native:host"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|