nixos/mwlib: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:31:44 +02:00
parent 34b4df8993
commit 5940259a21
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

View File

@ -34,7 +34,7 @@ in
port = mkOption {
default = 8899;
type = types.int;
type = types.port;
description = "Specify port to listen on.";
}; # nserve.port
@ -68,7 +68,7 @@ in
port = mkOption {
default = 14311;
type = types.int;
type = types.port;
description = "Specify port to listen on.";
}; # qserve.port
@ -137,7 +137,7 @@ in
port = mkOption {
default = 8898;
type = types.int;
type = types.port;
description = "Port to listen to when serving files from cache.";
}; # nslave.http.port