Merge branch 'master' of git.pains-perdus.fr:Pains-Perdus/nixos-modules

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2024-02-10 18:32:21 +01:00
commit 296af70aab
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 6 additions and 2 deletions

View file

@ -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 =

View file

@ -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 = {