Merge pull request #127370 from nagy/port-types

This commit is contained in:
Sandro 2021-06-18 20:20:26 +02:00 committed by GitHub
commit 4c960dfc28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 21 additions and 21 deletions

View File

@ -57,7 +57,7 @@ in {
description = ''
Port on which RabbitMQ will listen for AMQP connections.
'';
type = types.int;
type = types.port;
};
dataDir = mkOption {

View File

@ -48,7 +48,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 3306;
description = "Port of MySQL.";
};

View File

@ -51,7 +51,7 @@ in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 6523;
description = ''
Port to listen on

View File

@ -58,7 +58,7 @@ in {
port = mkOption {
description = "Docker registry port to bind to.";
default = 5000;
type = types.int;
type = types.port;
};
storagePath = mkOption {

View File

@ -82,7 +82,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = (if !usePostgresql then 3306 else pg.port);
description = "Database host port.";
};

View File

@ -62,7 +62,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 2947;
description = ''
The port where to listen for TCP connections.

View File

@ -11,7 +11,7 @@ in
services.leaps = {
enable = mkEnableOption "leaps";
port = mkOption {
type = types.int;
type = types.port;
default = 8080;
description = "A port where leaps listens for incoming http requests";
};

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

View File

@ -40,7 +40,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 5000;
description = ''
Port to bind OctoPrint to.

View File

@ -67,7 +67,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 28981;
description = "Server port to listen on.";
};

View File

@ -71,7 +71,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 3000;
description = "Port on which Redmine is ran.";
};

View File

@ -28,7 +28,7 @@ let cfg = config.services.subsonic; in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 4040;
description = ''
The port on which Subsonic will listen for
@ -37,7 +37,7 @@ let cfg = config.services.subsonic; in {
};
httpsPort = mkOption {
type = types.int;
type = types.port;
default = 0;
description = ''
The port on which Subsonic will listen for

View File

@ -292,7 +292,7 @@ in {
port = mkOption {
description = "Listening port.";
default = 3000;
type = types.int;
type = types.port;
};
socket = mkOption {

View File

@ -98,7 +98,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 64738;
description = "Ports to bind to (UDP and TCP).";
};

View File

@ -105,7 +105,7 @@ in
};
rpc.port = mkOption {
type = types.int;
type = types.port;
default = 8332;
description = ''
Port the RPC server will bind to.

View File

@ -13,7 +13,7 @@ in
enable = mkEnableOption "Serve NAR file contents via HTTP";
port = mkOption {
type = types.int;
type = types.port;
default = 8383;
description = ''
Port number where nar-serve will listen on.

View File

@ -11,7 +11,7 @@ in
enable = mkEnableOption "nix-serve, the standalone Nix binary cache server";
port = mkOption {
type = types.int;
type = types.port;
default = 5000;
description = ''
Port number where nix-serve will listen on.

View File

@ -33,7 +33,7 @@ in
enable = mkEnableOption "ttyd daemon";
port = mkOption {
type = types.int;
type = types.port;
default = 7681;
description = "Port to listen on (use 0 for random port)";
};