lol

nixos/i2pd: use `types.port`

h7x4 bb96a741 71fb838c

+3 -3
+3 -3
nixos/modules/services/networking/i2pd.nix
··· 667 667 description = "Upstream outproxy bind address."; 668 668 }; 669 669 outproxyPort = mkOption { 670 - type = types.int; 670 + type = types.port; 671 671 default = 4444; 672 672 description = "Upstream outproxy bind port."; 673 673 }; ··· 686 686 { 687 687 options = { 688 688 destinationPort = mkOption { 689 - type = with types; nullOr int; 689 + type = with types; nullOr port; 690 690 default = null; 691 691 description = "Connect to particular port at destination."; 692 692 }; ··· 711 711 { 712 712 options = { 713 713 inPort = mkOption { 714 - type = types.int; 714 + type = types.port; 715 715 default = 0; 716 716 description = "Service port. Default to the tunnel's listen port."; 717 717 };