diff --git a/nixos/modules/services/networking/3proxy.nix b/nixos/modules/services/networking/3proxy.nix index aa76e57417fb..dca17e8194ef 100644 --- a/nixos/modules/services/networking/3proxy.nix +++ b/nixos/modules/services/networking/3proxy.nix @@ -83,7 +83,7 @@ in ''; }; bindPort = lib.mkOption { - type = lib.types.nullOr lib.types.int; + type = lib.types.nullOr lib.types.port; default = null; example = 3128; description = '' @@ -192,7 +192,7 @@ in ''; }; targetPorts = lib.mkOption { - type = lib.types.listOf lib.types.int; + type = lib.types.listOf lib.types.port; default = [ ]; example = [ 80