Split domains into their own var file and update all files accordingly
This commit is contained in:
parent
47bf9a94cd
commit
fe73fa0d1f
34 changed files with 143 additions and 117 deletions
|
@ -9,11 +9,11 @@
|
|||
nginx.enable = true;
|
||||
database.createLocally = true;
|
||||
settings = {
|
||||
hostname = "lemmy.${config.secrets.jimDomain}";
|
||||
hostname = "lemmy.${config.domains.jim1}";
|
||||
email = {
|
||||
smtp_server = "mx.${config.secrets.jimDomain}:587";
|
||||
smtp_login = "noreply@${config.secrets.jimDomain}";
|
||||
smtp_from_address = "Jimbo's Lemmy <noreply@${config.secrets.jimDomain}>";
|
||||
smtp_server = "mx.${config.domains.jim1}:587";
|
||||
smtp_login = "noreply@${config.domains.jim1}";
|
||||
smtp_from_address = "Jimbo's Lemmy <noreply@${config.domains.jim1}>";
|
||||
smtp_password = config.secrets.noreplyPassword;
|
||||
tls_type = "starttls";
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."lemmy.${config.secrets.jimDomain}" = {
|
||||
services.nginx.virtualHosts."lemmy.${config.domains.jim1}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue