From 6f9c572a0eaef2fe7e4bb73c6e11692d9f9b2a4b Mon Sep 17 00:00:00 2001 From: Matthieu Barthel Date: Sat, 26 Oct 2024 19:50:53 +0200 Subject: [PATCH] nixos/gitlab: Fix registry port fix #350428 --- nixos/modules/services/misc/gitlab.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index ecbc087f739f..8560e27b8ae3 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -1242,6 +1242,7 @@ in { enable = true; enableDelete = true; # This must be true, otherwise GitLab won't manage it correctly package = cfg.registry.package; + port = cfg.registry.port; extraConfig = { auth.token = { realm = "http${optionalString (cfg.https == true) "s"}://${cfg.host}/jwt/auth";