Same API as the old Pleroma.Config
Discussed in https://git.pleroma.social/pleroma/pleroma/merge_requests/426#note_7232