summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/exim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-21 11:18:24 +0200
committertv <tv@krebsco.de>2016-05-21 11:19:35 +0200
commit97c2e4bbd99f6034d550a83804e508c278045b67 (patch)
treeed90854259a9f54a7c46e8168187d29419eb9203 /krebs/3modules/exim.nix
parentace70674aa9fc4580816225223934b6d7edd9204 (diff)
krebs.exim: validate config file syntax
Diffstat (limited to 'krebs/3modules/exim.nix')
-rw-r--r--krebs/3modules/exim.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/exim.nix b/krebs/3modules/exim.nix
index 16a2a37b6..7b18c72c1 100644
--- a/krebs/3modules/exim.nix
+++ b/krebs/3modules/exim.nix
@@ -37,7 +37,7 @@ in {
};
config = lib.mkIf cfg.enable {
environment = {
- etc."exim.conf".text = ''
+ etc."exim.conf".source = pkgs.writeEximConfig "exim.conf" ''
exim_user = ${cfg.user.name}
exim_group = ${cfg.group.name}
exim_path = /var/setuid-wrappers/exim