From 5d90d4499701e5878d513b3ab782f65ce19334b7 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 3 Apr 2024 01:11:21 +0800 Subject: [PATCH] home/git: ssh signing -> gpg signing --- home/applications/git/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/home/applications/git/default.nix b/home/applications/git/default.nix index 81e7c0f..dbc4e25 100644 --- a/home/applications/git/default.nix +++ b/home/applications/git/default.nix @@ -1,15 +1,14 @@ { programs.git = { enable = true; + delta.enable = true; + userName = "Guanran Wang"; userEmail = "guanran928@outlook.com"; - delta.enable = true; signing.signByDefault = true; - signing.key = "~/.ssh/id_github_signing"; - extraConfig = { - gpg.format = "ssh"; - pull.rebase = true; - }; + signing.key = "91F97D9ED12639CF"; + + extraConfig.pull.rebase = true; }; programs.gh.enable = true;