configure mastadon

This commit is contained in:
jopejoe1 2025-01-13 16:17:53 +01:00
parent e8abbcf516
commit 916a161c4f
2 changed files with 12 additions and 6 deletions

View file

@ -95,6 +95,14 @@ in
chrootlocalUser = true;
};
services.mastodon = {
enable = true;
streamingProcesses = (lib.elemAt config.facter.report.hardware.cpu 0).cores - 1;
localDomain = "nyan.social";
smtp.fromAddress = "mastodon@nyan.social";
configureNginx = true;
};
users.users.backupftp = {
isNormalUser = true;
initialPassword = "backupPassword";
@ -107,12 +115,6 @@ in
localAddress = "192.168.100.5/24";
config = {
system.stateVersion = "25.05";
services.mastodon = {
enable = true;
streamingProcesses = (lib.elemAt config.facter.report.hardware.cpu 0).cores - 1;
localDomain = "nyan.social";
smtp.fromAddress = "mastodon@nyan.social";
};
};
};
};

View file

@ -26,6 +26,8 @@
"dtg-c.de"
"joens.email"
"nyan.social"
"miau.social"
"pumkin.social"
];
# A list of all login accounts. To create the password hashes, use
@ -50,6 +52,8 @@
"@dtg-c.de"
"@joens.email"
"@nyan.social"
"@miau.social"
"@pumpkin.social"
];
};
};