nixos/cryptpad: use types.port

This commit is contained in:
h7x4
2025-09-22 16:03:47 +02:00
parent c31d264b5d
commit 25332ea522
+2 -2
View File
@@ -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";
};