blob: a8a2e88141d7dbf15fd41de04493a234685931e9 (
plain)
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
44
45
46
47
48
|
{
flake.modules.nixos.git =
{ pkgs, ... }:
{
programs.git = {
enable = true;
package = pkgs.git;
};
};
flake.modules.homeManager.git =
{ ... }:
{
programs.git = {
enable = true;
signing = {
key = "A3502B180BC1D41A";
signByDefault = true;
};
ignores = [
"*~"
".DS_Store"
".direnv"
".envrc"
];
settings = {
user.name = "Leander Scherer";
user.email = "leander@schererleander.de";
help.autocorrect = 20;
alias = {
st = "status";
co = "checkout";
br = "branch";
};
pull.rebase = true;
gpg.format = "openpgp";
url."git@github.com:".insteadOf = "https://github.com";
};
};
programs.diff-highlight = {
enable = true;
enableGitIntegration = true;
};
};
}
|