machines/magenta: remove gpg from gitea

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-19 00:26:28 +03:00
parent 9d51191434
commit 28c99fb72f
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -17,22 +17,6 @@ in
{ {
services.postgresql.package = pkgs.postgresql_14; services.postgresql.package = pkgs.postgresql_14;
programs.git = {
enable = true;
config = {
user = {
email = "gitea@noreply.pleshevski.ru";
name = "Gitea";
signingKey = "745324BD4A15B11F5725B8E6A29AAC22198EF078";
};
gpg.program = "${pkgs.gnupg}/bin/gpg";
commit.gpgSign = true;
tag.gpgSign = true;
};
};
programs.gnupg.agent.enable = true;
services.gitea = { services.gitea = {
enable = true; enable = true;
package = gitea; package = gitea;
@ -78,13 +62,6 @@ in
DEFAULT_BRANCH = "main"; DEFAULT_BRANCH = "main";
DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = true; DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = true;
}; };
"repository.signing" = {
SIGNING_EMAIL = "gitea@noreply.pleshevski.ru";
SIGNING_NAME = "Gitea";
SIGNING_KEY = "745324BD4A15B11F5725B8E6A29AAC22198EF078";
DEFAULT_TRUST_MODEL = "collaboratorcommiter";
MERGES = "pubkey,basesigned,commitssigned";
};
"repository.local" = { "repository.local" = {
LOCAL_COPY_PATH = "${config.services.gitea.stateDir}/tmp/local-repo"; LOCAL_COPY_PATH = "${config.services.gitea.stateDir}/tmp/local-repo";
}; };