blob: 66cd793f7f4dd816014d19f868f0d333db9808da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ config, pkgs, ... }:
{
programs.git = {
enable = true;
userEmail = "phenax5@gmail.com";
userName = "Akshay Nair";
ignores = [
"tags"
".vim.session"
"tags.lock"
"tags.temp"
"ayak.sh"
];
aliases = {
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi";
};
extraConfig = {
color = {
ui = true;
};
init = {
defaultBranch = "main";
};
"color \"diff-highlight\"" = {
oldNormal = "red bold";
oldHighlight = "red bold 52";
newNormal = "green bold";
newHighlight = "green bold 22";
};
"color \"diff\"" = {
meta = 11;
frag = "magenta bold";
commit = "yellow bold";
old = "red bold";
new = "green bold";
whitespace = "red reverse";
};
pull = { rebase = false; };
};
signing.key = "AAAB13AE8B82A5267C1A35D7E1B701723EA37849";
signing.signByDefault = true;
};
}
|