ctucx.git: nixfiles

ctucx' nixfiles

commit 43c6dc66aa3c2a95970a9b0459bdc5168e86986a
parent 318fe970ea31c3921e4d637c2b599349d0217967
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 16 Jun 2024 11:39:20 +0200

machines/trabbi/mail: use `dovecot2.sieve` config options
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/machines/trabbi/mail/default.nix b/machines/trabbi/mail/default.nix
@@ -110,12 +110,9 @@ in {
 
   services.redis.servers.rspamd.bind = "::1";
 
-  services.dovecot2.extraConfig = ''
-    plugin {
-      # Use editheader
-      sieve_extensions = +editheader
-    }
-  '';
+  services.dovecot2.sieve.extensions = [
+    "editheader"
+  ];
 
   mailserver = {
     enable  = true;