nixos/ttyd: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:28:17 +02:00
parent d566bd2ddc
commit 4161c37628
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -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)";
};