hippocampus: dawarich: configure smtp
This commit is contained in:
@@ -1,9 +1,20 @@
|
|||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
sops.secrets.dawarich_smtp = {
|
||||||
|
owner = config.services.dawarich.user;
|
||||||
|
group = config.services.dawarich.group;
|
||||||
|
};
|
||||||
services.dawarich = {
|
services.dawarich = {
|
||||||
enable = true;
|
enable = true;
|
||||||
webPort = 7392;
|
webPort = 7392;
|
||||||
configureNginx = false;
|
configureNginx = false;
|
||||||
localDomain = "location.crompton.cc";
|
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 = {
|
services.caddy.virtualHosts = {
|
||||||
|
|||||||
Reference in New Issue
Block a user