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; 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 = { users.users.backupftp = {
isNormalUser = true; isNormalUser = true;
initialPassword = "backupPassword"; initialPassword = "backupPassword";
@ -107,12 +115,6 @@ in
localAddress = "192.168.100.5/24"; localAddress = "192.168.100.5/24";
config = { config = {
system.stateVersion = "25.05"; 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" "dtg-c.de"
"joens.email" "joens.email"
"nyan.social" "nyan.social"
"miau.social"
"pumkin.social"
]; ];
# A list of all login accounts. To create the password hashes, use # A list of all login accounts. To create the password hashes, use
@ -50,6 +52,8 @@
"@dtg-c.de" "@dtg-c.de"
"@joens.email" "@joens.email"
"@nyan.social" "@nyan.social"
"@miau.social"
"@pumpkin.social"
]; ];
}; };
}; };