From 0d2a07b795d5e266059880ebe7f6fa7cd4f6cb2d Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:22:00 +0200 Subject: [PATCH] nixos/3proxy: use `types.port` --- nixos/modules/services/networking/3proxy.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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