diff --git a/nixos/modules/services/web-apps/cryptpad.nix b/nixos/modules/services/web-apps/cryptpad.nix index 0ec6df1419bb..4a38d9589678 100644 --- a/nixos/modules/services/web-apps/cryptpad.nix +++ b/nixos/modules/services/web-apps/cryptpad.nix @@ -75,12 +75,12 @@ in description = "Address on which the Node.js server should listen"; }; httpPort = mkOption { - type = types.int; + type = types.port; default = 3000; description = "Port on which the Node.js server should listen"; }; websocketPort = mkOption { - type = types.int; + type = types.port; default = 3003; description = "Port for the websocket that needs to be separate"; };