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