summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/ttyd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/web-servers/ttyd.nix')
-rw-r--r--nixos/modules/services/web-servers/ttyd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/ttyd.nix b/nixos/modules/services/web-servers/ttyd.nix
index 01a01d97a23..68d55ee6ffd 100644
--- a/nixos/modules/services/web-servers/ttyd.nix
+++ b/nixos/modules/services/web-servers/ttyd.nix
@@ -33,7 +33,7 @@ in
       enable = mkEnableOption "ttyd daemon";
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 7681;
         description = "Port to listen on (use 0 for random port)";
       };