diff options
Diffstat (limited to 'os/kay/modules/github-runner.nix')
-rw-r--r-- | os/kay/modules/github-runner.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os/kay/modules/github-runner.nix b/os/kay/modules/github-runner.nix new file mode 100644 index 0000000..4462ff2 --- /dev/null +++ b/os/kay/modules/github-runner.nix @@ -0,0 +1,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}"; + }; +} |