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";