diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index a604bc88b3bf..240561f20278 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -638,7 +638,7 @@ in description = "External address used to access registry from the internet"; }; externalPort = mkOption { - type = types.int; + type = types.port; description = "External port used to access registry from the internet"; }; };