about summary refs log tree commit diff
path: root/nixosConfigurations/manwe/mailserver
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-03-23 16:59:15 +0300
committerAzat Bahawi <azat@bahawi.net>2023-03-23 16:59:15 +0300
commitf6e36a699ae2d073e340e0a5844b8e111ed3de37 (patch)
tree52bb1d04e7b027165245b55622859b8425105fc7 /nixosConfigurations/manwe/mailserver
parent2023-03-22 (diff)
2023-03-23
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