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"; };