From cf4f409884cdeeba1097db89aa05208f1660991d Mon Sep 17 00:00:00 2001 From: David Crompton Date: Sun, 15 Feb 2026 19:03:13 -0500 Subject: [PATCH] hippocampus: dawarich: configure smtp --- machines/hippocampus/servers/public/dawarich.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/machines/hippocampus/servers/public/dawarich.nix b/machines/hippocampus/servers/public/dawarich.nix index a79cc04..c98b534 100644 --- a/machines/hippocampus/servers/public/dawarich.nix +++ b/machines/hippocampus/servers/public/dawarich.nix @@ -1,9 +1,20 @@ { config, pkgs, lib, ... }: { + sops.secrets.dawarich_smtp = { + owner = config.services.dawarich.user; + group = config.services.dawarich.group; + }; services.dawarich = { enable = true; webPort = 7392; configureNginx = false; localDomain = "location.crompton.cc"; + smtp = { + fromAddress = "cromptonlocation@syzygial.cc"; + user = "automated@syzygial.cc"; + passwordFile = config.sops.secrets.dawarich_smtp.path; + host = "smtp.protonmail.ch"; + port = 587; + }; }; services.caddy.virtualHosts = {