diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-02-05 11:00:40 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-02-05 11:00:40 +0530 |
commit | 1b869e20a214935ec5b195af16d1445f2f5d88b7 (patch) | |
tree | 164c07d11a7128d86d1c6b752fe24fff0fe50cfa /os/kay/modules/github-runner.nix | |
parent | 1a99a20c55fa3e708e14ac0689dfe5681b284eb2 (diff) |
kay/github-runner: init
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}"; + }; +} |