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
commit 2f7f695dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 24 additions and 24 deletions

View file

@ -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.
'';

View file

@ -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.

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.

View file

@ -51,7 +51,7 @@ in
};
port = mkOption {
type = types.int;
type = types.port;
default = 5432;
description = lib.mdDoc ''
The port on which PostgreSQL listens.

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.

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;
};

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.";
};

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 ''

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.

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.";
};

View file

@ -94,7 +94,7 @@ in {
port = mkOption {
description = lib.mdDoc "Graphite web frontend port.";
default = 8080;
type = types.int;
type = types.port;
};
extraConfig = mkOption {

View file

@ -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.";
};

View file

@ -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 {

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).

View file

@ -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.

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.";

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 {

View file

@ -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";

View file

@ -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";

View file

@ -76,7 +76,7 @@ in
'';
};
port = mkOption {
type = types.int;
type = types.port;
default = 3000;
example = 80;
description = lib.mdDoc ''

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.";
};