31 lines
743 B
Nix
31 lines
743 B
Nix
|
{...}: {
|
||
|
services.gotosocial = {
|
||
|
enable = true;
|
||
|
setupPostgresqlDB = true;
|
||
|
settings = {
|
||
|
application-name = "Chaos";
|
||
|
host = "gts-01.owo.monster";
|
||
|
bind-address = "0.0.0.0";
|
||
|
|
||
|
log-level = "info";
|
||
|
log-client-ip = false;
|
||
|
|
||
|
port = 8080;
|
||
|
letsencrypt-enabled = false;
|
||
|
|
||
|
accounts-registration-open = false;
|
||
|
|
||
|
media-image-max-size = 1000000 * 64; # MB
|
||
|
media-video-max-size = 1000000 * 1024; # MB
|
||
|
media-description-max-chars = 4000;
|
||
|
media-remote-cache-days = 3;
|
||
|
media-emoji-local-max-size = 102400;
|
||
|
media-emoji-remote-max-size = 102400;
|
||
|
|
||
|
statuses-cw-max-chars = 150;
|
||
|
statuses-poll-max-options = 10;
|
||
|
statuses-media-max-files = 8;
|
||
|
};
|
||
|
};
|
||
|
}
|