forked from Bun/nixos-config
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,19 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
services.mastodon = let
|
||||
secrets = import ../modules/secrets.nix;
|
||||
in {
|
||||
{pkgs, outputs, ...}: {
|
||||
services.mastodon = {
|
||||
enable = true;
|
||||
localDomain = "social.${secrets.jimDomain}";
|
||||
localDomain = "social.${outputs.secrets.jimDomain}";
|
||||
streamingProcesses = 4;
|
||||
configureNginx = true;
|
||||
smtp = {
|
||||
createLocally = false;
|
||||
host = "mx.${secrets.jimDomain}";
|
||||
host = "mx.${outputs.secrets.jimDomain}";
|
||||
port = 587;
|
||||
authenticate = true;
|
||||
fromAddress = "Jimbo's Mastodon <noreply@${secrets.jimDomain}>";
|
||||
user = "noreply@${secrets.jimDomain}";
|
||||
passwordFile = pkgs.writeText "smtp_pass.txt" secrets.noreplyPassword;
|
||||
fromAddress = "Jimbo's Mastodon <noreply@${outputs.secrets.jimDomain}>";
|
||||
user = "noreply@${outputs.secrets.jimDomain}";
|
||||
passwordFile = pkgs.writeText "smtp_pass.txt" outputs.secrets.noreplyPassword;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue