services.gitea.settings.service.DISABLE_REGISTRATION

NixOS option

By default any user can create an account on this gitea instance. This can be disabled by using this option. Note: please keep in mind that this should be added after the initial deploy as the first registered user will be the administrator.

type: boolean
Default
false
Example
true
declared in: nixos/modules/services/misc/gitea.nixView source on NixOS/nixpkgs →