nixos/3proxy: use `types.port`

h7x4 0d2a07b7 ceb57eba

Changed files
+2 -2
nixos
modules
services
networking
+2 -2
nixos/modules/services/networking/3proxy.nix
···
'';
};
bindPort = lib.mkOption {
-
type = lib.types.nullOr lib.types.int;
default = null;
example = 3128;
description = ''
···
'';
};
targetPorts = lib.mkOption {
-
type = lib.types.listOf lib.types.int;
default = [ ];
example = [
80
···
'';
};
bindPort = lib.mkOption {
+
type = lib.types.nullOr lib.types.port;
default = null;
example = 3128;
description = ''
···
'';
};
targetPorts = lib.mkOption {
+
type = lib.types.listOf lib.types.port;
default = [ ];
example = [
80