tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/i2pd: use `types.port`
h7x4
6 months ago
bb96a741
71fb838c
+3
-3
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
i2pd.nix
+3
-3
nixos/modules/services/networking/i2pd.nix
reviewed
···
667
667
description = "Upstream outproxy bind address.";
668
668
};
669
669
outproxyPort = mkOption {
670
670
-
type = types.int;
670
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
689
-
type = with types; nullOr int;
689
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
714
-
type = types.int;
714
714
+
type = types.port;
715
715
default = 0;
716
716
description = "Service port. Default to the tunnel's listen port.";
717
717
};