diff --git a/mail-server/rspamd.nix b/mail-server/rspamd.nix index 8d22e76..efe3abc 100644 --- a/mail-server/rspamd.nix +++ b/mail-server/rspamd.nix @@ -98,7 +98,10 @@ in }; - services.redis.servers.rspamd.enable = true; + services.redis.servers.rspamd = { + enable = lib.mkDefault true; + port = lib.mkDefault 6380; + }; systemd.services.rspamd = { requires = [ "redis-rspamd.service" ] ++ (lib.optional cfg.virusScanning "clamav-daemon.service");