From 28c99fb72f7b66630cb0807b47a3cc6625896778 Mon Sep 17 00:00:00 2001 From: janabhumi Date: Wed, 19 Oct 2022 00:26:28 +0300 Subject: [PATCH] machines/magenta: remove gpg from gitea --- machines/magenta/services/gitea.nix | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/machines/magenta/services/gitea.nix b/machines/magenta/services/gitea.nix index 77353b2..ce7475e 100644 --- a/machines/magenta/services/gitea.nix +++ b/machines/magenta/services/gitea.nix @@ -17,22 +17,6 @@ in { 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 = { enable = true; package = gitea; @@ -78,13 +62,6 @@ in DEFAULT_BRANCH = "main"; 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" = { LOCAL_COPY_PATH = "${config.services.gitea.stateDir}/tmp/local-repo"; };