summary refs log tree commit diff
path: root/nixos/modules/services/databases/redis.nix
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/services/databases/redis.nix
parentbfb91bc57fe4fe96f42ab0d6b9b71a57a768d287 (diff)
downloadnixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar.gz
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar.bz2
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar.lz
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar.xz
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.tar.zst
nixpkgs-4171cd53d699c7adc7548d0062d7766d93dc3d63.zip
redis: make masterAuth option optional (#109417)
Diffstat (limited to 'nixos/modules/services/databases/redis.nix')
-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 1b90e59b166..117e6366225 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