2024-10-09 03:36:08 -04:00
|
|
|
{ outputs, ... }:
|
|
|
|
{
|
2024-10-07 11:42:34 -04:00
|
|
|
imports = [
|
|
|
|
./nginx
|
|
|
|
];
|
|
|
|
|
|
|
|
services.lemmy = {
|
|
|
|
enable = true;
|
|
|
|
nginx.enable = true;
|
|
|
|
database.createLocally = true;
|
|
|
|
settings = {
|
|
|
|
hostname = "lemmy.${outputs.secrets.jimDomain}";
|
|
|
|
email = {
|
|
|
|
smtp_server = "mx.${outputs.secrets.jimDomain}:587";
|
|
|
|
smtp_login = "noreply@${outputs.secrets.jimDomain}";
|
|
|
|
smtp_from_address = "Jimbo's Lemmy <noreply@${outputs.secrets.jimDomain}>";
|
|
|
|
smtp_password = outputs.secrets.noreplyPassword;
|
|
|
|
tls_type = "starttls";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|