mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 11:34:07 +02:00
configure mastadon
This commit is contained in:
parent
e8abbcf516
commit
916a161c4f
2 changed files with 12 additions and 6 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue