diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-08-14 21:03:12 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-08-14 21:03:12 +0200 |
| commit | 8aaded1faa85072860b5988d4922a77e7111a12b (patch) | |
| tree | f2a24b7f58f5bb287a510f38d09f59c2c73dd987 /config/services/web/quentin/ihatemoney/default.nix | |
| parent | 1ad412616cf72ef8df9ef54b6a752bf1c415e2e0 (diff) | |
add dummy smtp server for ihatemoney
Diffstat (limited to 'config/services/web/quentin/ihatemoney/default.nix')
| -rw-r--r-- | config/services/web/quentin/ihatemoney/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/services/web/quentin/ihatemoney/default.nix b/config/services/web/quentin/ihatemoney/default.nix index a0eafac..df94392 100644 --- a/config/services/web/quentin/ihatemoney/default.nix +++ b/config/services/web/quentin/ihatemoney/default.nix @@ -18,4 +18,12 @@ in { ''; }; + services.opensmtpd = lib.mkIf cfg.enable { + enable = true; + serverConfiguration = '' + listen on lo + action block mda "cat >/dev/null" + match from any for any action block + ''; + }; } |
