diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix index 92410e28a1ed..f1e27cbaa256 100644 --- a/nixos/modules/services/security/tor.nix +++ b/nixos/modules/services/security/tor.nix @@ -795,7 +795,7 @@ in }; options.HiddenServiceMaxStreams = lib.mkOption { description = (descriptionGeneric "HiddenServiceMaxStreams"); - type = with lib.types; nullOr (ints.between 0 65535); + type = with lib.types; nullOr ints.u16; default = null; }; options.HiddenServiceMaxStreamsCloseCircuit = optionBool "HiddenServiceMaxStreamsCloseCircuit";