Skip to content

Commit

Permalink
feat(git): use SSH to sign
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jan 11, 2024
1 parent 2091345 commit 7fe8016
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
delta.enable = true;
userName = "Carlos Alexandro Becker";
userEmail = "caarlos0@users.noreply.github.com";
signing = {
key = "C4AEF954837E820358B990C4E61E2F7DC14AB940";
signByDefault = true;
};
aliases = {
co = "checkout";
count = "shortlog -sn";
Expand All @@ -25,6 +21,9 @@
unshallow = "fetch --prune --tags --unshallow";
};
extraConfig = {
commit.gpgSign = true;
gpg.format = "ssh";
user.signingKey = "~/.ssh/id_ed25519";
lfs = { enable = true; };
core = {
editor = "nvim";
Expand Down

0 comments on commit 7fe8016

Please sign in to comment.