mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
nixos/ttyd: use port
type
This commit is contained in:
parent
d566bd2ddc
commit
4161c37628
@ -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)";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user