nix/nixos/common/services/forgejo-runner.nix

14 lines
400 B
Nix
Raw Normal View History

2023-12-06 06:47:34 +01:00
{ pkgs, config, hostname, ... }: {
sops.secrets."secrets/forgejo_token" = {
owner = "root";
sopsFile = ../../../secrets/secrets.yaml;
};
services.gitea-actions-runner.instances."${hostname}" = {
enable = true;
name = "${hostname}";
2023-12-06 06:49:06 +01:00
labels = [ "nixos" ];
2023-12-06 06:47:34 +01:00
url = "https://git.sysctl.io";
tokenFile = "/run/secrets/secrets/forgejo_token";
};
}