git sign with ssh
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
6ae187f7c6
commit
7b48435796
1 changed files with 8 additions and 0 deletions
|
@ -149,4 +149,12 @@
|
|||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.git.extraConfig = {
|
||||
user = {
|
||||
signingKey = "~/.ssh/id.key";
|
||||
};
|
||||
gpg.format = "ssh";
|
||||
global.gpgsign = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue