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
|
@ -2,16 +2,16 @@
|
|||
{
|
||||
services.mastodon = {
|
||||
enable = true;
|
||||
localDomain = "social.${config.secrets.jimDomain}";
|
||||
localDomain = "social.${config.domains.jim1}";
|
||||
streamingProcesses = 4;
|
||||
configureNginx = true;
|
||||
smtp = {
|
||||
createLocally = false;
|
||||
host = "mx.${config.secrets.jimDomain}";
|
||||
host = "mx.${config.domains.jim1}";
|
||||
port = 587;
|
||||
authenticate = true;
|
||||
fromAddress = "Jimbo's Mastodon <noreply@${config.secrets.jimDomain}>";
|
||||
user = "noreply@${config.secrets.jimDomain}";
|
||||
fromAddress = "Jimbo's Mastodon <noreply@${config.domains.jim1}>";
|
||||
user = "noreply@${config.domains.jim1}";
|
||||
passwordFile = pkgs.writeText "smtp_pass.txt" config.secrets.noreplyPassword;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue