From 016298079e1d05bdee8a0c64db659e0fdd67e227 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:44:29 +0200 Subject: [PATCH] nixos/resilio: use more accurate int types --- nixos/modules/services/networking/resilio.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix index 25ad4b13daf2..2b72d7cbffc0 100644 --- a/nixos/modules/services/networking/resilio.nix +++ b/nixos/modules/services/networking/resilio.nix @@ -113,7 +113,7 @@ in }; listeningPort = mkOption { - type = types.int; + type = types.port; default = 0; example = 44444; description = '' @@ -139,7 +139,7 @@ in }; downloadLimit = mkOption { - type = types.int; + type = types.ints.unsigned; default = 0; example = 1024; description = '' @@ -148,7 +148,7 @@ in }; uploadLimit = mkOption { - type = types.int; + type = types.ints.unsigned; default = 0; example = 1024; description = '' @@ -166,7 +166,7 @@ in }; httpListenPort = mkOption { - type = types.int; + type = types.port; default = 9000; description = '' HTTP port to bind on.