Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
44 lines
807 B
Nix
44 lines
807 B
Nix
{ pkgs, config }:
|
|
{
|
|
sops.secrets."cache-secret" = {
|
|
sopsFile = ../../secrets/nix-cache01/actions_token_1;
|
|
format = "binary";
|
|
};
|
|
|
|
services.gitea-actions-runner.instances = {
|
|
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";
|
|
};
|
|
}
|