diff --git a/pp-gitea.nix b/pp-gitea.nix index 90454ea..5178df3 100644 --- a/pp-gitea.nix +++ b/pp-gitea.nix @@ -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 =