about summary refs log tree commit diff
path: root/nixosConfigurations/manwe/mailserver.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nixosConfigurations/manwe/mailserver.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixosConfigurations/manwe/mailserver.nix b/nixosConfigurations/manwe/mailserver.nix
index b59f0a8..0667a49 100644
--- a/nixosConfigurations/manwe/mailserver.nix
+++ b/nixosConfigurations/manwe/mailserver.nix
@@ -82,6 +82,13 @@ with lib; {
     };
   };
 
+  # https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/issues/241
+  services.redis.servers.rspamd.enable = mkForce false;
+  systemd.services.rspamd = {
+    requires = mkForce ["redis-default.service"];
+    after = mkForce ["redis-default.service"];
+  };
+
   services.fail2ban.jails = {
     dovecot = ''
       enabled = true

Consider giving Nix/NixOS a try! <3