Merge pull request #127370 from nagy/port-types

Sandro 4c960dfc a8af06a9

+1 -1
nixos/modules/services/amqp/rabbitmq.nix
···
description = ''
Port on which RabbitMQ will listen for AMQP connections.
'';
-
type = types.int;
+
type = types.port;
};
dataDir = mkOption {
+1 -1
nixos/modules/services/databases/mysql.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 3306;
description = "Port of MySQL.";
};
+1 -1
nixos/modules/services/editors/infinoted.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 6523;
description = ''
Port to listen on
+1 -1
nixos/modules/services/misc/docker-registry.nix
···
port = mkOption {
description = "Docker registry port to bind to.";
default = 5000;
-
type = types.int;
+
type = types.port;
};
storagePath = mkOption {
+1 -1
nixos/modules/services/misc/gitea.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = (if !usePostgresql then 3306 else pg.port);
description = "Database host port.";
};
+1 -1
nixos/modules/services/misc/gpsd.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 2947;
description = ''
The port where to listen for TCP connections.
+1 -1
nixos/modules/services/misc/leaps.nix
···
services.leaps = {
enable = mkEnableOption "leaps";
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 8080;
description = "A port where leaps listens for incoming http requests";
};
+3 -3
nixos/modules/services/misc/mwlib.nix
···
port = mkOption {
default = 8899;
-
type = types.int;
+
type = types.port;
description = "Specify port to listen on.";
}; # nserve.port
···
port = mkOption {
default = 14311;
-
type = types.int;
+
type = types.port;
description = "Specify port to listen on.";
}; # qserve.port
···
port = mkOption {
default = 8898;
-
type = types.int;
+
type = types.port;
description = "Port to listen to when serving files from cache.";
}; # nslave.http.port
+1 -1
nixos/modules/services/misc/octoprint.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 5000;
description = ''
Port to bind OctoPrint to.
+1 -1
nixos/modules/services/misc/paperless.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 28981;
description = "Server port to listen on.";
};
+1 -1
nixos/modules/services/misc/redmine.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 3000;
description = "Port on which Redmine is ran.";
};
+2 -2
nixos/modules/services/misc/subsonic.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 4040;
description = ''
The port on which Subsonic will listen for
···
};
httpsPort = mkOption {
-
type = types.int;
+
type = types.port;
default = 0;
description = ''
The port on which Subsonic will listen for
+1 -1
nixos/modules/services/monitoring/grafana.nix
···
port = mkOption {
description = "Listening port.";
default = 3000;
-
type = types.int;
+
type = types.port;
};
socket = mkOption {
+1 -1
nixos/modules/services/networking/murmur.nix
···
};
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 64738;
description = "Ports to bind to (UDP and TCP).";
};
+1 -1
nixos/modules/services/networking/namecoind.nix
···
};
rpc.port = mkOption {
-
type = types.int;
+
type = types.port;
default = 8332;
description = ''
Port the RPC server will bind to.
+1 -1
nixos/modules/services/networking/nar-serve.nix
···
enable = mkEnableOption "Serve NAR file contents via HTTP";
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 8383;
description = ''
Port number where nar-serve will listen on.
+1 -1
nixos/modules/services/networking/nix-serve.nix
···
enable = mkEnableOption "nix-serve, the standalone Nix binary cache server";
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 5000;
description = ''
Port number where nix-serve will listen on.
+1 -1
nixos/modules/services/web-servers/ttyd.nix
···
enable = mkEnableOption "ttyd daemon";
port = mkOption {
-
type = types.int;
+
type = types.port;
default = 7681;
description = "Port to listen on (use 0 for random port)";
};