Merge pull request #204001 from nagy/port-types

This commit is contained in:
Naïm Favier
2022-12-02 14:52:35 +01:00
committed by GitHub
21 changed files with 24 additions and 24 deletions
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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;
};
+1 -1
View File
@@ -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.";
};
+2 -2
View File
@@ -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 ''
+1 -1
View File
@@ -288,7 +288,7 @@ in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 49152;
description = lib.mdDoc ''
The network port to listen on.
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.";
+1 -1
View File
@@ -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";
+1 -1
View File
@@ -76,7 +76,7 @@ in
'';
};
port = mkOption {
type = types.int;
type = types.port;
default = 3000;
example = 80;
description = lib.mdDoc ''
+1 -1
View File
@@ -313,7 +313,7 @@ in {
};
port = lib.mkOption {
type = lib.types.int;
type = lib.types.port;
default = 5432;
description = lib.mdDoc "Database host port.";
};