summaryrefslogtreecommitdiff
path: root/nix/modules/gotosocial.nix
blob: b0a0c216316228c30eda6be0368f8042466fde3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, config, ... }:
{
  services.gotosocial = {
    enable = lib.mkDefault false;
    setupPostgresqlDB = true;
    settings = {
      application-name = "Nullring GoToSocial Instance";
      host = "gotosocial.${config.monorepo.vars.orgHost}";
      protocol = "https";
      bind-address = "127.0.0.1";
      port = 8080;
    };
  };
}