diff options
Diffstat (limited to 'hosts/sagittarius/web/git.nix')
| -rw-r--r-- | hosts/sagittarius/web/git.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/hosts/sagittarius/web/git.nix b/hosts/sagittarius/web/git.nix index b352952..6fc6490 100644 --- a/hosts/sagittarius/web/git.nix +++ b/hosts/sagittarius/web/git.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ pkgs, config, ... }: let cfg = config.services.forgejo; srv = cfg.settings.server; @@ -35,4 +35,21 @@ in }; }; }; + + services.gitea-actions-runner = { + package = pkgs.forgejo-actions-runner; + instances.default = { + enable = true; + name = "monolith"; + url = "https://git.sorre.xyz"; + tokenFile = config.sops.secrets."forgejo-runner-token".path; + + labels = [ + "ubuntu-latest:docker://node:16-bullseye" + "ubuntu-22.04:docker://node:16-bullseye" + "ubuntu-20.04:docker://node:16-bullseye" + "ubuntu-18.04:docker://node:16-buster" + ]; + }; + }; } |
