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
{ pkgs, ... }:
{
home.packages = [ pkgs.gitui ];
home.shellAliases = {
reinitgit = "rm -rf .git && git init && git add -A && git commit -m 'init'";
};
programs.lazygit.enable = true;
programs.git = {
enable = true;
package = pkgs.gitFull;
userName = "Katja (ctucx)";
userEmail = "git@ctu.cx";
difftastic.enable = true;
ignores = [
".DS_Store"
"*.swp"
];
aliases = {
log-gpg = "log --show-signature";
pfusch = "push";
};
extraConfig = {
features.manyFiles = true;
pull.rebase = false;
# "url \"git@git.ctu.cx:\"".insteadOf = "https://git.ctu.cx/";
};
};
}