Merge pull request #125221 from NixOS/backport-124404-to-release-21.05

[Backport release-21.05] Small option type adjustments
This commit is contained in:
davidak
2021-08-03 06:33:12 +02:00
committed by GitHub
10 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 8080;
description = ''
GitLab server port for copy-paste URLs, e.g. 80 or 443 if you're
@@ -231,7 +231,7 @@ in {
type = types.listOf (types.submodule {
options = {
port = mkOption {
type = types.int;
type = types.port;
example = 8448;
description = ''
The port to listen for HTTP(S) requests on.