mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 03: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;
|
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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue