feat: allow for the sserver instance to sign off merge commits

This commit is contained in:
silver 2024-10-04 11:58:00 +01:00
parent c0aa5c138d
commit 259a6df8a7
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -76,6 +76,12 @@ in {
};
};
# for signing reasons
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
services.forgejo = {
enable = true;
package = pkgs.forgejo;
@ -92,11 +98,21 @@ in {
# You can temporarily allow registration to create an admin user.
service.DISABLE_REGISTRATION = true;
# Add support for actions, based on act: https://github.com/nektos/act
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
# Allow for signing off merge requests
"repository.signing" = {
SIGNING_KEY = "5B2DED0FE9F8627A";
SIGNING_NAME = "Skynet";
SIGNING_EMAIL = "forgejo@glados.skynet.ie";
MERGES = "always";
};
# Sending emails is completely optional
# You can send a test email from the web UI at:
# Profile Picture > Site Administration > Configuration > Mailer Configuration