diff options
author | Reno Reckling <exi@wthack.de> | 2024-01-19 07:14:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 07:14:59 +0100 |
commit | 33ede4cc7c7061c90788fe94f98ee9652fb39e1e (patch) | |
tree | 6694343e53aaa75498fe6e80a7528f4685adb34f /nixos/modules/services | |
parent | 9c5b8fe008290a3e1cd174b7d6e85cdaf590d0bb (diff) | |
download | nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar.gz nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar.bz2 nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar.lz nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar.xz nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.tar.zst nixlib-33ede4cc7c7061c90788fe94f98ee9652fb39e1e.zip |
use concatMapStringsSep in dovecot config
Co-authored-by: h7x4 <h7x4@nani.wtf>
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/mail/dovecot.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index 58303565c53b..79c8fec75252 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -120,8 +120,8 @@ let plugin { sieve_plugins = ${concatStringsSep " " cfg.sieve.plugins} '' - (optionalString (cfg.sieve.extensions != []) ''sieve_extensions = ${concatStringsSep " " (map (el: "+${el}") cfg.sieve.extensions)}'') - (optionalString (cfg.sieve.globalExtensions != []) ''sieve_global_extensions = ${concatStringsSep " " (map (el: "+${el}") cfg.sieve.globalExtensions)}'') + (optionalString (cfg.sieve.extensions != []) ''sieve_extensions = ${concatMapStringsSep " " (el: "+${el}") cfg.sieve.extensions}'') + (optionalString (cfg.sieve.globalExtensions != []) ''sieve_global_extensions = ${concatMapStringsSep " " (el: "+${el}") cfg.sieve.globalExtensions}'') (optionalString (cfg.imapsieve.mailbox != []) '' ${ |