system/hosts/istal/services/forgejo-runners/default.nix

22 lines
562 B
Nix
Raw Normal View History

2024-08-07 15:11:28 +03:00
{ 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 = [ "ubuntu-22.04:docker://node:22-bullseye" ];
tokenFile = config.age.secrets.forgejo-runner-docker-token.path;
};
};
};
}