From bb96a741c797cc93afde33cb0466bf9cbd35396c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:28:11 +0200 Subject: [PATCH] nixos/i2pd: use `types.port` --- nixos/modules/services/networking/i2pd.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/networking/i2pd.nix b/nixos/modules/services/networking/i2pd.nix index 1f9c9dcac4a0..15e86c4c342e 100644 --- a/nixos/modules/services/networking/i2pd.nix +++ b/nixos/modules/services/networking/i2pd.nix @@ -667,7 +667,7 @@ in description = "Upstream outproxy bind address."; }; outproxyPort = mkOption { - type = types.int; + type = types.port; default = 4444; description = "Upstream outproxy bind port."; }; @@ -686,7 +686,7 @@ in { options = { destinationPort = mkOption { - type = with types; nullOr int; + type = with types; nullOr port; default = null; description = "Connect to particular port at destination."; }; @@ -711,7 +711,7 @@ in { options = { inPort = mkOption { - type = types.int; + type = types.port; default = 0; description = "Service port. Default to the tunnel's listen port."; };