This document covers the installation steps for meta.sr.ht, the central authentication and account management service for SourceHut.
Familiarize yourself with the general installation documentation before getting started.
The following daemons are available in the meta.sr.ht package:
meta.sr.ht — The web service.meta.sr.ht-api — The API service.Enable and start them like so:
# service meta.sr.ht start
# service meta.sr.ht-api start
# rc-update add meta.sr.ht
# rc-update add meta.sr.ht-api
Install a cronjob to run meta.sr.ht-daily as the meta user daily. For example:
0 * * * * chronic meta.sr.ht-daily
Note that if billing is enabled, this cronjob, among other tasks, will charge accounts due for payment.
To enable the billing system, install the separate meta.sr.ht-billing package
and fill in the meta.sr.ht::billing section of config.ini. You need a working
Stripe account to collect payments.
To create users, use meta.sr.ht-manageuser. For example, to create an
administrator:
meta.sr.ht-manageuser -t admin -e <email> <username>
commit 41ab2775e10ce72cd362ba940184bfb4d59118fd Author: Albert Larsan <albertlarsan@albertlarsan.fr> Date: 2026-07-01T20:13:56+02:00 builds.sr.ht/compatibility: Remove NixOS 25.05 It is really far beyond time to remove it.