Add git config for signing via sshkeys
Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
parent
881cc61845
commit
5a37187bdf
1 changed files with 5 additions and 0 deletions
5
home.nix
5
home.nix
|
@ -254,6 +254,11 @@
|
||||||
co = "checkout";
|
co = "checkout";
|
||||||
s = "status";
|
s = "status";
|
||||||
};
|
};
|
||||||
|
extraConfig = {
|
||||||
|
user.signingkey = "/home/tristand/.ssh/id_ed25519";
|
||||||
|
commit.gpgsign = true;
|
||||||
|
gpg.format= "ssh";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue