add push to create

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2023-08-19 23:51:07 +02:00
parent 7a2d7a0e75
commit 60f8eab05a
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -54,6 +54,10 @@ in
services.gitea.domain = cfg.domain;
# services.gitea.database.type = "postgres"; # Default is sqlite3, probably better for a small instance
services.gitea.database.passwordFile = cfg.dbPasswordFile;
services.gitea.settings.repository.ENABLE_PUSH_CREATE_USER = true;
services.gitea.settings.repository.ENABLE_PUSH_CREATE_ORG = true;
# Set the permittions for the db file
system.activationScripts = {
giteaDbFilePermission.text =