2024-10-15 17:46:44 -04:00
|
|
|
{ config, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-11-04 22:41:38 -05:00
|
|
|
imports = [ ./nginx ];
|
2024-10-07 11:42:34 -04:00
|
|
|
|
|
|
|
services.lemmy = {
|
|
|
|
enable = true;
|
|
|
|
nginx.enable = true;
|
|
|
|
database.createLocally = true;
|
|
|
|
settings = {
|
2024-10-24 23:42:09 -04:00
|
|
|
hostname = "lemmy.${config.domains.jim1}";
|
2024-10-07 11:42:34 -04:00
|
|
|
email = {
|
2024-10-24 23:42:09 -04:00
|
|
|
smtp_server = "mx.${config.domains.jim1}:587";
|
|
|
|
smtp_login = "noreply@${config.domains.jim1}";
|
|
|
|
smtp_from_address = "Jimbo's Lemmy <noreply@${config.domains.jim1}>";
|
2024-10-15 17:46:44 -04:00
|
|
|
smtp_password = config.secrets.noreplyPassword;
|
2024-10-07 11:42:34 -04:00
|
|
|
tls_type = "starttls";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|