diff options
author | makefu <github@syntax-fehler.de> | 2019-05-08 14:00:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-05-08 14:00:01 +0200 |
commit | 8de1b7553ced70a449655024fbcbad431ab0a1ca (patch) | |
tree | 0c4c01585095b2538dfd01ba62cec1a5e68b8437 /makefu/2configs/mail | |
parent | da44703a861c56e954cb350ec65b87b30b6e4ace (diff) |
ma mail.euer: use new mailserver release, set state
Diffstat (limited to 'makefu/2configs/mail')
-rw-r--r-- | makefu/2configs/mail/mail.euer.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/makefu/2configs/mail/mail.euer.nix b/makefu/2configs/mail/mail.euer.nix index f8f82e76b..d27b888a7 100644 --- a/makefu/2configs/mail/mail.euer.nix +++ b/makefu/2configs/mail/mail.euer.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { imports = [ - (builtins.fetchTarball "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.2.0/nixos-mailserver-v2.2.0.tar.gz") + (builtins.fetchTarball "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/v2.2.1/nixos-mailserver-v2.2.1.tar.gz") ]; mailserver = { @@ -32,8 +32,12 @@ }; services.dovecot2.extraConfig = '' - ssl_dh = </var/lib/dhparams/dovecot.pem + ssl_dh = </var/lib/dhparams/dovecot2.pem ''; + state = [ # https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/wikis/A-Complete-Backup-Guide + config.mailserver.mailDirectory + config.mailserver.dkimKeyDirectory + ]; # workaround for DH creation # security.dhparams = { # enable = true; |