parent
fc11df5c6b
commit
cf1cbd5c48
|
@ -86,10 +86,6 @@ with lib; {
|
|||
package = pkgs.gitAndTools.gitFull;
|
||||
userName = "Nathan McCarty";
|
||||
userEmail = "nathan@mccarty.io";
|
||||
signing = {
|
||||
key = lib.mkDefault "B7A40A5D78C08885";
|
||||
signByDefault = config.nathan.programs.util.git.gpgSign;
|
||||
};
|
||||
ignores = [
|
||||
"**/*~"
|
||||
"*~"
|
||||
|
|
|
@ -14,4 +14,12 @@
|
|||
};
|
||||
config = { isDesktop = true; };
|
||||
};
|
||||
# Setup git commit signing with ssh key
|
||||
programs.git = {
|
||||
extraConfig = {
|
||||
commit.gpgSign = true;
|
||||
gpg.format = "ssh";
|
||||
user.signingKey = "~/.ssh/id_ed25519.pub";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue