1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ node, ctucxConfig, config, ... }:
{
imports = [
ctucxConfig.services.gotosocial
];
#
# these are just specific settings for this installation!
# the settings in `../services/gotosical.nix` are also used!
#
dns.zones."ctu.cx".subdomains."fedi.home".AAAA = [ node.ip6Address ];
services.gotosocial = {
enable = true;
group = "nginx";
settings = {
application-name = "ctucx.gts";
host = "fedi.home.ctu.cx";
account-domain = "fedi.home.ctu.cx";
landing-page-user = "leah";
accounts-allow-custom-css = true;
accounts-registration-open = false;
instance-expose-peers = true;
instance-expose-suspended = true;
instance-expose-suspended-web = true;
instance-languages = [ "de" "en-us" ];
media-remote-max-size = 0;
media-remote-cache-days = 3;
media-cleanup-from = "02:00";
};
};
}