mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
Merge pull request #124404 from nagy/option-types
This commit is contained in:
commit
eb5c8e51b7
@ -52,7 +52,7 @@ in {
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 6379;
|
||||
description = "The port for Redis to listen to.";
|
||||
};
|
||||
|
@ -42,7 +42,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 7777;
|
||||
description = ''
|
||||
Specifies the port to listen on.
|
||||
@ -50,7 +50,7 @@ in
|
||||
};
|
||||
|
||||
maxPlayers = mkOption {
|
||||
type = types.int;
|
||||
type = types.ints.u8;
|
||||
default = 255;
|
||||
description = ''
|
||||
Sets the max number of players (between 1 and 255).
|
||||
|
@ -462,7 +462,7 @@ in {
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8080;
|
||||
description = ''
|
||||
GitLab server port for copy-paste URLs, e.g. 80 or 443 if you're
|
||||
|
@ -231,7 +231,7 @@ in {
|
||||
type = types.listOf (types.submodule {
|
||||
options = {
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
example = 8448;
|
||||
description = ''
|
||||
The port to listen for HTTP(S) requests on.
|
||||
|
@ -67,7 +67,7 @@ in
|
||||
};
|
||||
|
||||
listen.port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 5000;
|
||||
description = ''
|
||||
Port on which the sync server listen to.
|
||||
|
@ -74,7 +74,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 9418;
|
||||
description = "Port to listen on.";
|
||||
};
|
||||
|
@ -110,7 +110,7 @@ in
|
||||
};
|
||||
|
||||
rpc.port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 18081;
|
||||
description = ''
|
||||
Port the RPC server will bind to.
|
||||
|
@ -356,7 +356,7 @@ in
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
type = lib.types.port;
|
||||
default = 25;
|
||||
description = ''
|
||||
The port of the SMTP server Discourse should use to
|
||||
|
@ -19,7 +19,7 @@ in {
|
||||
|
||||
port = mkOption {
|
||||
default = 80;
|
||||
type = ints.u16;
|
||||
type = types.port;
|
||||
description = ''
|
||||
Port to listen on.
|
||||
Pass 0 to let the system choose any free port for you.
|
||||
|
@ -134,7 +134,7 @@ in
|
||||
|
||||
port = mkOption {
|
||||
default = 80;
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
description = ''
|
||||
TCP port number for lighttpd to bind to.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user