diff --git a/pp-forgejo.nix b/pp-forgejo.nix index 8218871..4da2adf 100644 --- a/pp-forgejo.nix +++ b/pp-forgejo.nix @@ -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 =