3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/mail
aszlig 67a8c66f68
nixos/dovecot: Fix usage of dhparams option
The pull request that added dhparams (#39507) was made at the time where
the dhparams module overhaul (#39526) wasn't done yet, so it's still
using the old mechanics of the module.

As stated in the release notes:

  Module implementers should not set a specific bit size in order to let
  users configure it by themselves if they want to have a different bit
  size than the default (2048).

  An example usage of this would be:

    { config, ... }:

    {
      security.dhparams.params.myservice = {};
      environment.etc."myservice.conf".text = ''
        dhparams = ${config.security.dhparams.params.myservice.path}
      '';
    }

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @qknight, @abbradar, @hrdinka, @leenaars
2018-05-10 08:29:29 +02:00
..
clamsmtp.nix nixos/clamsmtp: init 2018-01-06 16:08:54 +01:00
dkimproxy-out.nix nixos/dkimproxy-out: init (#33229) 2018-01-03 01:23:02 +00:00
dovecot.nix nixos/dovecot: Fix usage of dhparams option 2018-05-10 08:29:29 +02:00
dspam.nix
exim.nix More derp 2017-01-29 05:33:56 -06:00
freepops.nix
mail.nix Fixing a bunch of issues 2017-01-29 01:58:12 -06:00
mailhog.nix mailhog: init at 1.0.0 (#26821) 2017-06-24 17:05:34 +01:00
mlmmj.nix nixos/mlmmj: fix newline problems with multiple lists 2017-05-25 10:40:50 -05:00
nullmailer.nix nullmailer: simplify config generation 2017-09-28 11:04:39 +01:00
offlineimap.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
opendkim.nix opendkim: automated key generation (no manual changes for service initialization required anymore) 2017-10-23 15:53:55 +02:00
opensmtpd.nix
pfix-srsd.nix nixos/pfix-srsd: add module 2017-09-21 21:44:55 -04:00
postfix.nix nixos/postfix: document that *Alias options support comma separated values 2018-02-18 13:04:08 +01:00
postgrey.nix postgrey: improve formatting 2017-01-02 15:42:51 +01:00
postsrsd.nix
rmilter.nix rmilter/rspamd service: tighten unix socket permissions 2017-03-17 23:01:24 +01:00
rspamd.nix nixos/rspamd: options for worker configuration and socket activation 2018-02-09 06:19:03 +01:00
spamassassin.nix nixos(spamassassin): fix trailing whitespace 2017-09-27 14:50:52 +02:00