29 lines
673 B
Nix
29 lines
673 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
age.secrets.forgejo-runner-docker-token.file = ./forgejo-runner-docker-token.age;
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
services.gitea-actions-runner = {
|
|
package = pkgs.unstable.forgejo-runner;
|
|
instances = {
|
|
istal-docker = {
|
|
enable = true;
|
|
name = "istal-docker";
|
|
url = "https://git.pleshevski.ru";
|
|
labels = [];
|
|
tokenFile = config.age.secrets.forgejo-runner-docker-token.path;
|
|
settings = {
|
|
runner = {
|
|
envs = {
|
|
NODE_OPTIONS="--max_old_space_size=4096";
|
|
};
|
|
|
|
timeout = "1h";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|