nix-config/home/features/cli/git.nix
2024-06-02 11:11:21 +02:00

21 lines
502 B
Nix

{pkgs, ...}: {
#Prefer IPv4 for ssh
# home.file.".ssh/config".text = "AddressFamily inet";
programs.git = {
enable = true;
userName = "GHOSCHT";
userEmail = "31184695+GHOSCHT@users.noreply.github.com";
package = pkgs.gitAndTools.gitFull;
extraConfig = {
commit.gpgsign = true;
user.signingkey = "0x2C2C1C62A5388E82";
init.defaultBranch = "main";
};
lfs.enable = true;
aliases = {
graph = "log --decorate --oneline --graph";
};
};
}