Jump to content

GoToSocial: Difference between revisions

From Official NixOS Wiki
Onny (talk | contribs)
Add setup instruction
Onny (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
   };
   };
};
};
</syntaxhighlight>
== Usage ==
To create users, following utility and commands can be used.<syntaxhighlight lang="bash">
sudo gotosocial-admin account create --username <nickname> --email <email> --password <password>
sudo gotosocial-admin account confirm --username <nickname>
</syntaxhighlight>Promote a specific user to an administrator.<syntaxhighlight lang="bash">
sudo gotosocial-admin account promote --username <nickname>
</syntaxhighlight>
</syntaxhighlight>


Line 20: Line 28:


* Upstream documentation in the [https://nixos.org/manual/nixos/stable/#module-services-gotosocial NixOS manual].
* Upstream documentation in the [https://nixos.org/manual/nixos/stable/#module-services-gotosocial NixOS manual].
* Blog post describing how to migrate from Mastodon to GoToSocial https://fedihost.co/blog/slug/migrating-to-gotosocial-from-mastodon


[[Category:ActivityPub]]
[[Category:ActivityPub]]

Latest revision as of 10:13, 3 August 2026

GoToSocial is an ActivityPub social network server.

Setup

Minimal configuration example.

services.gotosocial = {
  enable = true;
  setupPostgresqlDB = true;
  settings = {
    application-name = "My GoToSocial";
    host = "gotosocial.example.com";
    protocol = "https";
    bind-address = "127.0.0.1";
    port = 8080;
  };
};

Usage

To create users, following utility and commands can be used.

sudo gotosocial-admin account create --username <nickname> --email <email> --password <password>
sudo gotosocial-admin account confirm --username <nickname>

Promote a specific user to an administrator.

sudo gotosocial-admin account promote --username <nickname>

See also