aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2025-12-14 14:59:30 +0100
committerIsabella Bastaja <isabella@sorre.xyz>2025-12-14 15:01:30 +0100
commit45af4ee2c0dc97a970f2503c9cf7688d1623dfec (patch)
treefe24f8d4b16fb21708c87e40d78e9051f3290a68
parent5bd4cd7905e727cf6694805811d7327235508b06 (diff)
sagittarius: enable forgejo runner
-rw-r--r--hosts/sagittarius/web/git.nix36
1 files changed, 17 insertions, 19 deletions
diff --git a/hosts/sagittarius/web/git.nix b/hosts/sagittarius/web/git.nix
index 5f41a98..691034b 100644
--- a/hosts/sagittarius/web/git.nix
+++ b/hosts/sagittarius/web/git.nix
@@ -29,28 +29,26 @@ in
};
# You can temporarily allow registration to create an admin user.
service.DISABLE_REGISTRATION = true;
+
# Add support for actions, based on act: https://github.com/nektos/act
- actions = {
- ENABLED = true;
- DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
- };
+ # actions = {
+ # ENABLED = true;
+ # DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
+ # };
};
};
- # 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;
+ services.gitea-actions-runner = {
+ package = pkgs.forgejo-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"
- # ];
- # };
- # };
+ labels = [
+ "ubuntu-24.04:docker://ubuntu:24.04"
+ ];
+ };
+ };
}