diff --git a/modules/nixos/services/gitea/default.nix b/modules/nixos/services/gitea/default.nix index 69c8ec4..7fe07e0 100644 --- a/modules/nixos/services/gitea/default.nix +++ b/modules/nixos/services/gitea/default.nix @@ -40,6 +40,8 @@ in { session.COOKIE_SECURE = true; service.DISABLE_REGISTRATION = true; + + webhook.ALLOWED_HOST_LIST = "hydra.kilonull.com"; }; }; diff --git a/modules/nixos/services/hydra/default.nix b/modules/nixos/services/hydra/default.nix index fc0ac03..a4ac24f 100644 --- a/modules/nixos/services/hydra/default.nix +++ b/modules/nixos/services/hydra/default.nix @@ -103,7 +103,7 @@ in { "hydra" "hydra-www" ]; - allowed-uris = ["github:" "https://github.com/" "https://api.github.com/"]; + allowed-uris = ["github:" "https://github.com/" "https://gitea.kilonull.com/"]; }; }; }