summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorMilan <me@pbb.lc>2021-01-15 03:21:27 +0100
committerGitHub <noreply@github.com>2021-01-15 03:21:27 +0100
commit4171cd53d699c7adc7548d0062d7766d93dc3d63 (patch)
tree06ccad80f9b30b99684aa98d858fce1659dfea50 /nixos/modules
parentbfb91bc57fe4fe96f42ab0d6b9b71a57a768d287 (diff)
redis: make masterAuth option optional (#109417)
Diffstat (limited to 'nixos/modules')
-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 1b90e59b1663..117e63662258 100644
--- a/nixos/modules/services/databases/redis.nix
+++ b/nixos/modules/services/databases/redis.nix
@@ -144,7 +144,7 @@ in
};
masterAuth = mkOption {
- type = types.str;
+ type = with types; nullOr str;
default = null;
description = ''If the master is password protected (using the requirePass configuration)
it is possible to tell the slave to authenticate before starting the replication synchronization