nixos/3proxy: use types.port

This commit is contained in:
h7x4
2025-09-22 16:22:00 +02:00
parent ceb57eba5a
commit 0d2a07b795
+2 -2
View File
@@ -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