Change a lot, mostly adding 3 Minecraft servers and Velocity
This commit is contained in:
parent
1d3c95e680
commit
c6accc294d
37 changed files with 1732 additions and 200 deletions
|
@ -1,25 +1,23 @@
|
|||
let
|
||||
secrets = import ../modules/secrets.nix;
|
||||
in {
|
||||
{outputs, ...}: {
|
||||
services = {
|
||||
lemmy = {
|
||||
enable = true;
|
||||
nginx.enable = true;
|
||||
database.createLocally = true;
|
||||
settings = {
|
||||
hostname = "lemmy.${secrets.jimDomain}";
|
||||
hostname = "lemmy.${outputs.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;
|
||||
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.${secrets.jimDomain}" = {
|
||||
nginx.virtualHosts."lemmy.${outputs.secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue