system/hosts/istal/services/forgejo-runners/default.nix
Dmitriy Pleshevskiy 1296267c18
host/istal: change config of forgejo runner
add NODE_OPTIONS env with --max_old_space_size=4096
use default labels
2024-08-07 19:11:24 +03:00

26 lines
645 B
Nix

{ config, pkgs, ... }:
{
age.secrets.forgejo-runner-docker-token.file = ./forgejo-runner-docker-token.age;
local.system.kernel = "stable";
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";
};
};
};
};
};
}