From af421a8fcfa03744d9afa8c502250b6109585dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 26 Jan 2019 17:18:24 +0100 Subject: Add mailer spool --- nixops/modules/mail/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nixops/modules/mail/default.nix (limited to 'nixops/modules/mail/default.nix') diff --git a/nixops/modules/mail/default.nix b/nixops/modules/mail/default.nix new file mode 100644 index 0000000..eeb28aa --- /dev/null +++ b/nixops/modules/mail/default.nix @@ -0,0 +1,10 @@ +{ lib, pkgs, config, myconfig, mylibs, ... }: +{ + config.services.nullmailer = { + enable = true; + config = { + me = myconfig.env.mail.host; + remotes = "${myconfig.env.mail.relay} smtp"; + }; + }; +} -- cgit v1.2.3