HermitCollective.nix/services/iceshrimp.nix

25 lines
617 B
Nix

# FUCK
{
services = {
iceshrimp = {
enable = true; # Actually enable the module
configureNginx = {
enable = false; #?
};
stateDir = "/var/lib/iceshrimp";
mediaDir = "/var/lib/iceshrimp/files";
settings = {
url = "https://mastodon.hermitcollective.net";
maxNoteLength = 35124; # Length of the GPL3 + long;
maxCaptionLength = 5000; # We did it HermitCollective!! We solved accesibility!
ssl = true;
};
};
nginx.virtualHosts."mastodon.hermitcollective.net" = {
forceSSL = true;
enableACME = true;
};
};
}