summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-05-25 19:26:38 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-01 13:15:24 +0000
commit98d6d1dbf78511a5d36173ea9c7b96a1f1d34c48 (patch)
tree87a5823ea02f77193c8a511a4b772e88ca085b39
parentnixos/discourse: set port type to `types.port` (diff)
downloadnixpkgs-98d6d1dbf78511a5d36173ea9c7b96a1f1d34c48.tar.gz
nixos/redis: set port type to `types.port`
(cherry picked from commit 0cde374a7604821ceddd24d06ae21e44de59d04c)
-rw-r--r--nixos/modules/services/databases/redis.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/redis.nix b/nixos/modules/services/databases/redis.nix
index c4d51958e239..9c0740f28c9b 100644
--- a/nixos/modules/services/databases/redis.nix
+++ b/nixos/modules/services/databases/redis.nix
@@ -52,7 +52,7 @@ in {
};
port = mkOption {
- type = types.int;
+ type = types.port;
default = 6379;
description = "The port for Redis to listen to.";
};