services.gotosocial.settings

NixOS option

Contents of the GoToSocial YAML config. Please refer to the documentation and example config. Please note that the host option cannot be changed later so it is important to configure this correctly before you start GoToSocial.

type: YAML 1.1 value
Default
{
  application-name = "gotosocial";
  bind-address = "127.0.0.1";
  db-address = "/var/lib/gotosocial/database.sqlite";
  db-type = "sqlite";
  port = 8080;
  protocol = "https";
  storage-local-base-path = "/var/lib/gotosocial/storage";
}
Example
{
  application-name = "My GoToSocial";
  host = "gotosocial.example.com";
}
declared in: nixos/modules/services/web-apps/gotosocial.nixView source on NixOS/nixpkgs →