dovecot: fix unparseable config

upstream/nixpkgs is doing some shit, ugh
This commit is contained in:
Colin 2024-01-22 08:09:37 +00:00
parent dd35136ac0
commit ad474873e2

View File

@ -130,8 +130,8 @@
services.dovecot2.sieve = { services.dovecot2.sieve = {
# maybe not all of these are needed. source: <https://github.com/NixOS/nixpkgs/pull/275031#issuecomment-1891052685> # maybe not all of these are needed. source: <https://github.com/NixOS/nixpkgs/pull/275031#issuecomment-1891052685>
plugins = [ "sieve_imapsieve" "sieve_extprograms" ]; plugins = [ "sieve_imapsieve" "sieve_extprograms" ];
extensions = [ "fileinto" ]; # extensions = [ "fileinto" ];
globalExtensions = [ "+vnd.dovecot.pipe" "+vnd.dovecot.environment" ]; # globalExtensions = [ "vnd.dovecot.pipe" "vnd.dovecot.environment" ];
# if any messages fail to pass (or lack) DKIM, move them to Junk # if any messages fail to pass (or lack) DKIM, move them to Junk
# XXX the key name ("after") is only used to order sieve execution/ordering # XXX the key name ("after") is only used to order sieve execution/ordering
}; };
@ -145,4 +145,6 @@
} }
''; '';
}; };
systemd.services.dovecot2.serviceConfig.RestartSec = lib.mkForce "15s"; # nixos defaults this to 1s
} }