diff --git a/nixos/modules/services/web-apps/nexus.nix b/nixos/modules/services/web-apps/nexus.nix index b3ad13f4102b..1a97c88900f9 100644 --- a/nixos/modules/services/web-apps/nexus.nix +++ b/nixos/modules/services/web-apps/nexus.nix @@ -46,7 +46,7 @@ in }; listenPort = mkOption { - type = types.int; + type = types.port; default = 8081; description = "Port to listen on."; };