add push to create

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2024-02-10 18:34:12 +01:00
parent 296af70aab
commit 64c8eb3a95
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

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