From 25332ea522bc8543f8b54b330c8e6436750d6b9a Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:03:47 +0200 Subject: [PATCH] nixos/cryptpad: use `types.port` --- nixos/modules/services/web-apps/cryptpad.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; };