21 lines
500 B
Nix
21 lines
500 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";
|
|
};
|
|
};
|
|
}
|