nixos/i2pd: use `types.port`

h7x4 bb96a741 71fb838c

Changed files
+3 -3
nixos
modules
services
networking
+3 -3
nixos/modules/services/networking/i2pd.nix
···
description = "Upstream outproxy bind address.";
};
outproxyPort = mkOption {
-
type = types.int;
+
type = types.port;
default = 4444;
description = "Upstream outproxy bind port.";
};
···
{
options = {
destinationPort = mkOption {
-
type = with types; nullOr int;
+
type = with types; nullOr port;
default = null;
description = "Connect to particular port at destination.";
};
···
{
options = {
inPort = mkOption {
-
type = types.int;
+
type = types.port;
default = 0;
description = "Service port. Default to the tunnel's listen port.";
};