diff --git a/systems/hetzner/default.nix b/systems/hetzner/default.nix index bcb41ea..875084f 100644 --- a/systems/hetzner/default.nix +++ b/systems/hetzner/default.nix @@ -140,6 +140,26 @@ in }; }; + services.woodpecker-server = { + enable = true; + environment = { + WOODPECKER_HOST = "https://ci.missing.ninja"; + WOODPECKER_OPEN = "true"; + WOODPECKER_GITEA = "true"; + WOODPECKER_GITEA_URL = "https://git.mixel.cloud"; + }; + }; + + services.woodpecker-agents.agents = { + hetzner = { + enable = true; + environment = { + WOODPECKER_SERVER = "localhost:9000"; + WOODPECKER_MAX_WORKFLOWS = "6"; + }; + }; + }; + users.users.backupftp = { isNormalUser = true; initialPassword = "backupPassword"; diff --git a/systems/hetzner/nginx.nix b/systems/hetzner/nginx.nix index 3c4ecc9..cf2179a 100644 --- a/systems/hetzner/nginx.nix +++ b/systems/hetzner/nginx.nix @@ -55,6 +55,11 @@ enableACME = true; locations."/".proxyPass = "http://localhost:8080"; }; + "ci.missing.ninja" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:8000"; + }; "cache.missing.ninja" = { forceSSL = true; enableACME = true;