summaryrefslogtreecommitdiff
path: root/os/kay/modules/github-runner.nix
blob: 4462ff2855f08a9ee6181150396f878f08b4df51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, ... }: let
  secret_path = "misc/nocodb-runner-registration-token";
  repo = "nocodb/nocodb";
in {
  sops.secrets.${secret_path} = {};

  services.github-runners.kay = {
    enable = true;
    noDefaultLabels = true;
    extraLabels = [ "nix" ];
    tokenFile = config.sops.secrets.${secret_path}.path;
    url = "https://github.com/${repo}";
  };
}