flake/home/applications/git/default.nix
2024-03-31 10:06:53 +08:00

17 lines
366 B
Nix

{
programs.git = {
enable = true;
userName = "Guanran Wang";
userEmail = "guanran928@outlook.com";
delta.enable = true;
signing.signByDefault = true;
signing.key = "~/.ssh/id_github_signing";
extraConfig = {
gpg.format = "ssh";
pull.rebase = true;
};
};
programs.gh.enable = true;
programs.gitui.enable = true;
}