nixos/resilio: use types.port

This commit is contained in:
h7x4
2025-09-22 16:41:38 +02:00
parent e2f6573620
commit 637a259587

View File

@@ -113,7 +113,7 @@ in
};
listeningPort = mkOption {
type = types.int;
type = types.port;
default = 0;
example = 44444;
description = ''
@@ -166,7 +166,7 @@ in
};
httpListenPort = mkOption {
type = types.int;
type = types.port;
default = 9000;
description = ''
HTTP port to bind on.