nixos/tor: replace ints.between 0 65535 with lib.types.ints.u16 (#456334)

This commit is contained in:
h7x4
2025-11-03 04:04:49 +00:00
committed by GitHub
+1 -1
View File
@@ -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";