From 1b869e20a214935ec5b195af16d1445f2f5d88b7 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 5 Feb 2025 11:00:40 +0530 Subject: kay/github-runner: init --- os/kay/modules/github-runner.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 os/kay/modules/github-runner.nix (limited to 'os/kay/modules') 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}"; + }; +} -- cgit v1.2.3