mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #204001 from nagy/port-types
This commit is contained in:
commit
2f7f695dd7
@ -46,7 +46,7 @@ in {
|
||||
|
||||
port = mkOption {
|
||||
default = 8153;
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
description = lib.mdDoc ''
|
||||
Specifies port number on which the Go.CD server HTTP interface listens.
|
||||
'';
|
||||
|
@ -122,7 +122,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 3000;
|
||||
description = lib.mdDoc ''
|
||||
TCP port the web server should listen to.
|
||||
|
@ -122,7 +122,7 @@ in {
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 5984;
|
||||
description = lib.mdDoc ''
|
||||
Defined the port number to listen.
|
||||
|
@ -51,7 +51,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 5432;
|
||||
description = lib.mdDoc ''
|
||||
The port on which PostgreSQL listens.
|
||||
|
@ -46,7 +46,7 @@ in
|
||||
services.factorio = {
|
||||
enable = mkEnableOption (lib.mdDoc name);
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 34197;
|
||||
description = lib.mdDoc ''
|
||||
The port to which the service should bind.
|
||||
|
@ -16,7 +16,7 @@ in
|
||||
|
||||
listen = {
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
description = lib.mdDoc "TCP port that will be used to accept client connections.";
|
||||
default = 11300;
|
||||
};
|
||||
|
@ -21,7 +21,7 @@ in {
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8080;
|
||||
description = lib.mdDoc "Port to bind to for HTTP, set to 0 to disable HTTP.";
|
||||
};
|
||||
|
@ -235,7 +235,7 @@ in
|
||||
};
|
||||
|
||||
httpPort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 3000;
|
||||
description = lib.mdDoc "HTTP listen port.";
|
||||
};
|
||||
@ -310,7 +310,7 @@ in
|
||||
};
|
||||
|
||||
SSH_PORT = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 22;
|
||||
example = 2222;
|
||||
description = lib.mdDoc ''
|
||||
|
@ -288,7 +288,7 @@ in {
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 49152;
|
||||
description = lib.mdDoc ''
|
||||
The network port to listen on.
|
||||
|
@ -21,7 +21,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 5000;
|
||||
description = lib.mdDoc "Port on which the web server will run.";
|
||||
};
|
||||
|
@ -94,7 +94,7 @@ in {
|
||||
port = mkOption {
|
||||
description = lib.mdDoc "Graphite web frontend port.";
|
||||
default = 8080;
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
|
@ -18,7 +18,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 25826;
|
||||
description = lib.mdDoc "Network address on which to accept collectd binary network packets.";
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ in {
|
||||
};
|
||||
port = mkOption {
|
||||
description = mdDoc "Port to listen on, falls back to 8080";
|
||||
type = with types; nullOr int;
|
||||
type = with types; nullOr port;
|
||||
default = null;
|
||||
};
|
||||
authfile = mkOption {
|
||||
|
@ -495,7 +495,7 @@ in
|
||||
ntcp2.enable = mkEnableTrueOption "NTCP2";
|
||||
ntcp2.published = mkEnableOption (lib.mdDoc "NTCP2 publication");
|
||||
ntcp2.port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 0;
|
||||
description = lib.mdDoc ''
|
||||
Port to listen for incoming NTCP2 connections (0=auto).
|
||||
|
@ -40,7 +40,7 @@ in
|
||||
enable = mkEnableOption (lib.mdDoc "mtprotoproxy");
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 3256;
|
||||
description = lib.mdDoc ''
|
||||
TCP port to accept mtproto connections on.
|
||||
|
@ -78,7 +78,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 0;
|
||||
example = 123;
|
||||
description = lib.mdDoc "Port number of the service.";
|
||||
|
@ -43,7 +43,7 @@ in {
|
||||
port = mkOption {
|
||||
description = lib.mdDoc "Kibana listening port";
|
||||
default = 5601;
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
};
|
||||
|
||||
cert = mkOption {
|
||||
|
@ -56,7 +56,7 @@ in
|
||||
};
|
||||
|
||||
listenPort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8090;
|
||||
description = lib.mdDoc "Port to listen on.";
|
||||
};
|
||||
@ -78,7 +78,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 443;
|
||||
example = 80;
|
||||
description = lib.mdDoc "Port used at the proxy";
|
||||
|
@ -56,7 +56,7 @@ in
|
||||
};
|
||||
|
||||
listenPort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8091;
|
||||
description = lib.mdDoc "Port to listen on.";
|
||||
};
|
||||
@ -78,7 +78,7 @@ in
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 443;
|
||||
example = 80;
|
||||
description = lib.mdDoc "Port used at the proxy";
|
||||
|
@ -76,7 +76,7 @@ in
|
||||
'';
|
||||
};
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 3000;
|
||||
example = 80;
|
||||
description = lib.mdDoc ''
|
||||
|
@ -313,7 +313,7 @@ in {
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
type = lib.types.port;
|
||||
default = 5432;
|
||||
description = lib.mdDoc "Database host port.";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user