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

19 lines
446 B
Nix
Raw Normal View History

2024-09-04 13:43:52 +00:00
{
pkgs,
config,
...
}: {
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.default = {
enable = true;
name = config.networking.hostName;
url = "https://git.chir.rs";
# Obtaining the path to the runner token file may differ
tokenFile = config.sops.secrets."services/forgejo-runner".path;
labels = [];
};
};
sops.secrets."services/forgejo-runner" = {};
}