diff --git a/runner_system.nix b/runner_system.nix index 93bb2e1..489543b 100644 --- a/runner_system.nix +++ b/runner_system.nix @@ -53,4 +53,20 @@ in }; }; }; + + virtualisation = { + oci-containers = { + containers = { + forgejo_runner = { + image = vegardit/gitea-act-runner:dind-latest; + autoStart = true; + privileged = true; + environment = { + GITEA_INSTANCE_URL = "https://pts-paper.de"; + GITEA_RUNNER_REGISTRATION_TOKEN = "YFmYnj31ikOh0Ja53hI9ehA1je0jlzP1KCBk2wMi"; + }; + } + } + }; + }; }