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";
|
2023-12-06 06:49:48 +01:00
|
|
|
tokenFile = "/run/secrets/forgejo_token";
|
2023-12-06 06:47:34 +01:00
|
|
|
};
|
|
|
|
}
|