39 lines
608 B
Nix
Executable file
39 lines
608 B
Nix
Executable file
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
|
|
userName = "Emile Clark-Boman";
|
|
userEmail = "eclarkboman@gmail.com";
|
|
|
|
aliases = {
|
|
s = "status";
|
|
d = "diff";
|
|
l = "log";
|
|
c = "commit";
|
|
p = "push";
|
|
};
|
|
|
|
extraConfig = {
|
|
color.ui = true;
|
|
core.editor = "hx";
|
|
github.user = "emileclarkb";
|
|
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
url = {
|
|
"https://github.com/" = {
|
|
insteadOf = [
|
|
"gh:"
|
|
"github:"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|