blob: 0e6e66c9a070a0e1b7b78663c559778333f36c5e (
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
|
{ lib, config, ... }:
{
programs.git = {
enable = lib.mkDefault config.monorepo.profiles.graphics.enable;
userName = config.monorepo.vars.fullName;
userEmail = config.monorepo.profiles.email.email;
signing = {
key = config.monorepo.vars.gpgKey;
signByDefault = true;
};
extraConfig = {
init.defaultBranch = "main";
};
aliases = {
pl = "pull";
ps = "push";
co = "checkout";
c = "commit";
a = "add";
st = "status";
sw = "switch";
b = "branch";
};
};
}
|