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 = diff --git a/pp-woodpecker.nix b/pp-woodpecker.nix index 05be455..ead633e 100644 --- a/pp-woodpecker.nix +++ b/pp-woodpecker.nix @@ -9,11 +9,11 @@ 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"; - sha256 = "06zmmg95c2pbrl7i6vl9zypmh4hysl3hkwhqjp2ylnndddhh7ihc"; + sha256 = "14kjj9ybahmfqflvsa8p0va1z3zhliybggxd148fzz4bnjsqpsla"; }) ]; options.services.ppWoodpecker = {