4 meta.maintainers = with lib.maintainers; [ blakesmith ];
9 environment.systemPackages = [ pkgs.jq ];
10 services.gotosocial = {
12 setupPostgresqlDB = true;
14 host = "localhost:8081";
21 machine.wait_for_unit("gotosocial.service")
22 machine.wait_for_unit("postgresql.service")
23 machine.wait_for_open_port(8081)
25 # check user registration via cli
26 machine.succeed("gotosocial-admin account create --username nickname --email email@example.com --password kurtz575VPeBgjVm")
27 machine.succeed("curl -sS -f http://localhost:8081/nodeinfo/2.0 | jq '.usage.users.total' | grep -q '^1$'")