29 lines
540 B
Nix
29 lines
540 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "laniakea";
|
|
userEmail = "itamar@itamar.site";
|
|
ignores = [ "*.swp" "result" ];
|
|
signing = {
|
|
key = "72F74E167C220C451CF29C09D8277CDCD4F544E9";
|
|
signByDefault = true;
|
|
};
|
|
extraConfig = {
|
|
commit.gpgSign = true;
|
|
tag.gpgSign = true;
|
|
push.autoSetupRemote = true;
|
|
};
|
|
};
|
|
|
|
programs.gh = {
|
|
enable = true;
|
|
settings = {
|
|
git_protocol = "ssh";
|
|
version = 1;
|
|
};
|
|
};
|
|
|
|
home.packages = [ pkgs.git-open ];
|
|
}
|