2024-08-24 22:16:51 -04:00
|
|
|
{
|
|
|
|
services.lemmy = let
|
2024-08-24 22:32:58 -04:00
|
|
|
secrets = import ../../../secrets.nix;
|
2024-08-24 22:16:51 -04:00
|
|
|
in {
|
|
|
|
enable = true;
|
|
|
|
nginx.enable = true;
|
|
|
|
database.createLocally = true;
|
|
|
|
settings = {
|
|
|
|
hostname = "lemmy.${secrets.jimDomain}";
|
|
|
|
email = {
|
|
|
|
smtp_server = "mx.${secrets.jimDomain}:587";
|
|
|
|
smtp_login = "noreply@${secrets.jimDomain}";
|
|
|
|
smtp_from_address = "Jimbo's Lemmy <noreply@${secrets.jimDomain}>";
|
|
|
|
smtp_password = secrets.noreplyPassword;
|
|
|
|
tls_type = "starttls";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|