2023-12-26 13:59:30 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
#Prefer IPv4 for ssh
|
2024-06-02 11:11:21 +02:00
|
|
|
# home.file.".ssh/config".text = "AddressFamily inet";
|
2023-12-26 13:59:30 +01:00
|
|
|
|
|
|
|
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";
|
2024-08-09 16:11:54 +02:00
|
|
|
pull.rebase = false; # merge by default
|
2023-12-26 13:59:30 +01:00
|
|
|
};
|
|
|
|
lfs.enable = true;
|
|
|
|
aliases = {
|
|
|
|
graph = "log --decorate --oneline --graph";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|