diff --git a/config/git-gitea.nix b/config/git-gitea.nix index 69701ff..ac903df 100644 --- a/config/git-gitea.nix +++ b/config/git-gitea.nix @@ -28,12 +28,24 @@ type = "tar.gz"; }; }; - # gitea-actions-runner.instances.default = { - # enable = true; - # labels = [ - # "test" - # "nixos" - # ]; - # }; + gitea-actions-runner.instances.nixos = { + name = "nixos"; + enable = true; + hostPackages = with pkgs; [ + bash + coreutils + curl + gawk + gitMinimal + gnused + wget + devenv + ]; + labels = [ + "native:host" + ]; + tokenFile = config.age.secrets.gitea-action-token.path; + url = "https://${tools.build_hostname "git"}"; + }; }; }