mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
git ssh signing
This commit is contained in:
parent
82f7da5858
commit
a15c05491e
@ -38,6 +38,12 @@ in {
|
|||||||
push = { autoSetupRemote = "true"; };
|
push = { autoSetupRemote = "true"; };
|
||||||
init = { defaultBranch = "master"; };
|
init = { defaultBranch = "master"; };
|
||||||
rebase = { autosquash = "true"; };
|
rebase = { autosquash = "true"; };
|
||||||
|
gpg = {
|
||||||
|
format = "ssh";
|
||||||
|
ssh.allowedSignersFile = "~/.config/git/allowed-signers";
|
||||||
|
};
|
||||||
|
commit.gpgsign = true;
|
||||||
|
tag.gpgsign = true;
|
||||||
};
|
};
|
||||||
ignores = [ ".direnv/**" "result" ];
|
ignores = [ ".direnv/**" "result" ];
|
||||||
includes = [{
|
includes = [{
|
||||||
@ -52,6 +58,11 @@ in {
|
|||||||
[user]
|
[user]
|
||||||
name = "${config.fullName}"
|
name = "${config.fullName}"
|
||||||
email = "7386960+nmasur@users.noreply.github.com"
|
email = "7386960+nmasur@users.noreply.github.com"
|
||||||
|
signingkey = ~/.ssh/id_ed25519
|
||||||
|
'';
|
||||||
|
|
||||||
|
xdg.configFile."git/allowed-signers".text = ''
|
||||||
|
7386960+nmasur@users.noreply.github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.fish.shellAbbrs = {
|
programs.fish.shellAbbrs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user