nixos/cryptpad: use `types.port`

h7x4 25332ea5 c31d264b

Changed files
+2 -2
nixos
modules
services
web-apps
+2 -2
nixos/modules/services/web-apps/cryptpad.nix
···
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";
};