Update references and folder names

This commit is contained in:
jimjam4real 2024-09-23 11:41:28 -04:00
parent 4cafc51f01
commit d402b1c806
82 changed files with 88 additions and 88 deletions

25
system/server/lemmy.nix Normal file
View file

@ -0,0 +1,25 @@
{outputs, ...}: {
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";
};
};
};
# Add SSL to webpage
nginx.virtualHosts."lemmy.${outputs.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
};
};
}