{ secrets, 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".CNAME = [ "${config.networking.fqdn}." ]; age.secrets.gotosocialEnv.file = secrets."${config.networking.hostName}".gotosocialEnv; services.gotosocial = { environmentFile = config.age.secrets.gotosocialEnv.path; settings = { application-name = "ctucx.fedi"; host = "fedi.ctu.cx"; account-domain = "ctu.cx"; landing-page-user = "katja"; 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-local-max-size = "50MiB"; media-remote-max-size = "50MiB"; media-remote-cache-days = 3; media-cleanup-from = "01:00"; smtp-host = "hector.ctu.cx"; smtp-port = 587; smtp-username = "gts@ctu.cx"; smtp-from = "gts@ctu.cx"; }; }; }