pvv-nixos-config/hosts/bekkalokk/services/gitea/ci.nix

16 lines
372 B
Nix
Raw Normal View History

2023-09-16 22:26:44 +02:00
{ config, ... }:
{
sops.secrets."gitea/runner-token" = { };
services.gitea-actions-runner.instances = {
runner1 = {
url = "https://git-runner1.pvv.ntnu.no";
name = "git-runner1";
labels = [
"debian-latest:docker://node:18-bullseye"
];
enable = true;
tokenFile = config.sops.secrets."gitea/runner-token".path;
};
};
}