From 60f8eab05a3a674e8c158a7a57ce12d78ddf3794 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Sat, 19 Aug 2023 23:51:07 +0200 Subject: [PATCH] add push to create --- pp-gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 =