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 1/3] 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 = From f72e74d4aee0c5e6babd30f649910387feea4cc1 Mon Sep 17 00:00:00 2001 From: Vi Retault Date: Tue, 3 Oct 2023 16:32:12 -0400 Subject: [PATCH 2/3] updated upstream hash --- pp-woodpecker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pp-woodpecker.nix b/pp-woodpecker.nix index 05be455..a5551a2 100644 --- a/pp-woodpecker.nix +++ b/pp-woodpecker.nix @@ -9,7 +9,7 @@ in # Woodpeeker is not in stable yet but the module is good enought (builtins.fetchurl { url = "https://github.com/NixOS/nixpkgs/raw/nixos-unstable/nixos/modules/services/continuous-integration/woodpecker/server.nix"; - sha256 = "0fbgr0s690c3i90c8rmnazilh3gl9x698pm69f8lqg2glz9rq13f"; + sha256 = "13dzbcb0fi0bwam0mlf6d6ly0x90pr8sq68kzs65mszbvsd5lqjb"; }) (builtins.fetchurl { url = "https://github.com/NixOS/nixpkgs/raw/nixos-unstable/nixos/modules/services/continuous-integration/woodpecker/agents.nix"; From b71ced5fbfd1cf1bb14a95d684a821301c10634b Mon Sep 17 00:00:00 2001 From: Vi Retault Date: Tue, 3 Oct 2023 16:56:18 -0400 Subject: [PATCH 3/3] updated upstream hash --- pp-woodpecker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pp-woodpecker.nix b/pp-woodpecker.nix index a5551a2..ead633e 100644 --- a/pp-woodpecker.nix +++ b/pp-woodpecker.nix @@ -13,7 +13,7 @@ in }) (builtins.fetchurl { url = "https://github.com/NixOS/nixpkgs/raw/nixos-unstable/nixos/modules/services/continuous-integration/woodpecker/agents.nix"; - sha256 = "06zmmg95c2pbrl7i6vl9zypmh4hysl3hkwhqjp2ylnndddhh7ihc"; + sha256 = "14kjj9ybahmfqflvsa8p0va1z3zhliybggxd148fzz4bnjsqpsla"; }) ]; options.services.ppWoodpecker = {