types.uniq types.int -> types.int

types.int already implies uniqueness.
This commit is contained in:
Eelco Dolstra 2015-06-15 18:11:32 +02:00
parent c738b309ee
commit 19ffa212af
14 changed files with 21 additions and 21 deletions

View File

@ -95,7 +95,7 @@ in {
port = mkOption {
default = 35000;
type = types.uniq types.int;
type = types.int;
description = ''
Port for Almir web server to listen on.
'';

View File

@ -182,7 +182,7 @@ in {
port = mkOption {
default = 9102;
type = types.uniq types.int;
type = types.int;
description = ''
This specifies the port number on which the Client listens for Director connections. It must agree with the FDPort specified in the Client resource of the Director's configuration file. The default is 9102.
'';
@ -237,7 +237,7 @@ in {
port = mkOption {
default = 9103;
type = types.uniq types.int;
type = types.int;
description = ''
Specifies port number on which the Storage daemon listens for Director connections. The default is 9103.
'';
@ -302,7 +302,7 @@ in {
port = mkOption {
default = 9101;
type = types.uniq types.int;
type = types.int;
description = ''
Specify the port (a positive integer) on which the Director daemon will listen for Bacula Console connections. This same port number must be specified in the Director resource of the Console configuration file. The default is 9101, so normally this directive need not be specified. This directive should not be used if you specify DirAddresses (N.B plural) directive.
'';

View File

@ -50,7 +50,7 @@ in {
port = mkOption {
default = 8080;
type = types.uniq types.int;
type = types.int;
description = ''
Specifies port number on which the jenkins HTTP interface listens. The default is 8080.
'';

View File

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

View File

@ -49,7 +49,7 @@ in
port = mkOption {
description = "Port that stats listens for messages on over UDP";
default = 8125;
type = types.uniq types.int;
type = types.int;
};
mgmt_address = mkOption {
@ -61,7 +61,7 @@ in
mgmt_port = mkOption {
description = "Port to run the management TCP interface on";
default = 8126;
type = types.uniq types.int;
type = types.int;
};
backends = mkOption {

View File

@ -32,7 +32,7 @@ let
shutdownOrder = mkOption {
default = 0;
type = types.uniq types.int;
type = types.int;
description = ''
When you have multiple UPSes on your system, you usually need to
turn them off in a certain order. upsdrvctl shuts down all the
@ -151,7 +151,7 @@ in
maxStartDelay = mkOption {
default = 45;
type = types.uniq types.int;
type = types.int;
description = ''
This can be set as a global variable above your first UPS
definition and it can also be set in a UPS section. This value

View File

@ -26,7 +26,7 @@ in
};
nice = mkOption {
type = types.uniq types.int;
type = types.int;
default = 10;
description = "Set the nice level for the Freenet daemon";
};

View File

@ -21,7 +21,7 @@ rec {
};
port = mkOption {
default = 2222;
type = types.uniq types.int;
type = types.int;
description = ''TCP port number for kippo to bind to.'';
};
hostname = mkOption {

View File

@ -39,13 +39,13 @@ with lib;
};
port = mkOption {
type = types.uniq types.int;
type = types.int;
default = 8444;
description = "The port which the daemon listens for other bitmessage clients";
};
nice = mkOption {
type = types.uniq types.int;
type = types.int;
default = 10;
description = "Set the nice level for the notbit daemon";
};

View File

@ -57,7 +57,7 @@ in
http-port = mkOption {
default = 3000;
type = types.uniq types.int;
type = types.int;
description = ''
Sets the HTTP port of the embedded web server.
'';

View File

@ -66,7 +66,7 @@ in
};
port = mkOption {
type = types.uniq types.int;
type = types.int;
default = 9091;
description = "TCP port number to run the RPC/web interface.";
};

View File

@ -130,7 +130,7 @@ in
port = mkOption {
default = 80;
type = types.uniq types.int;
type = types.int;
description = ''
TCP port number for lighttpd to bind to.
'';

View File

@ -26,12 +26,12 @@ in {
day = mkOption {
description = "Colour temperature to use during day time";
default = 5500;
type = types.uniq types.int;
type = types.int;
};
night = mkOption {
description = "Colour temperature to use during night time";
default = 3700;
type = types.uniq types.int;
type = types.int;
};
};

View File

@ -491,7 +491,7 @@ in
services.journald.rateLimitBurst = mkOption {
default = 100;
type = types.uniq types.int;
type = types.int;
description = ''
Configures the rate limiting burst limit (number of messages per
interval) that is applied to all messages generated on the system.