From 4161c376288fdb89e066413a83d0d6005f87d158 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Fri, 18 Jun 2021 17:28:17 +0200 Subject: [PATCH] nixos/ttyd: use `port` type --- nixos/modules/services/web-servers/ttyd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-servers/ttyd.nix b/nixos/modules/services/web-servers/ttyd.nix index 01a01d97a234..68d55ee6ffd2 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)"; };