Files
nixos-servers/services/actions-runner/default.nix
Torjus Håkestad fa4e47a873
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
nix-cache01: fix instance name in runner
2025-08-21 20:59:18 +02:00

46 lines
892 B
Nix

{ pkgs, config, ... }:
{
sops.secrets."cache-secret" = {
sopsFile = ../../secrets/nix-cache01/actions_token_1;
format = "binary";
};
services.gitea-actions-runner.instances = {
actions1 = {
enable = true;
tokenFile = config.sops.secrets.cache-secret.path;
name = "actions1.home.2rjus.net";
settings = {
log = {
level = "info";
};
runner = {
file = ".runner";
capacity = 4;
timeout = "2h";
shutdown_timeout = "10m";
insecure = false;
fetch_timeout = "10s";
fetch_interval = "30s";
};
cache = {
enabled = true;
};
container = {
privileged = false;
};
};
labels = [
"homelab"
"ubuntu-latest"
];
url = "https://git.t-juice.club";
};
};
}