diff --git a/nixos/machines/driftwood/configuration.nix b/nixos/machines/driftwood/configuration.nix index 7d69e9e..626222f 100644 --- a/nixos/machines/driftwood/configuration.nix +++ b/nixos/machines/driftwood/configuration.nix @@ -73,6 +73,23 @@ guiAddress = "100.64.0.3:8384"; }; + # Forgejo runner + services.gitea-actions-runner = { + package = pkgs.forgejo-actions-runner; + instaces.default = { + enable = true; + name = "driftwood"; + url = "https://git.stranger.systems"; + tokenFile = "/var/secrets/foregejo-runner"; + labels = [ + # provide a debian base with nodejs for actions + "debian-latest:docker://node:18-bullseye" + # fake the ubuntu name, because node provides no ubuntu builds + "ubuntu-latest:docker://node:18-bullseye" + ]; + }; + }; + # Allow reboot on autoupgrades system.autoUpgrade = { allowReboot = true;