add push to create
This commit is contained in:
parent
7a2d7a0e75
commit
60f8eab05a
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue