-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgit.nix
More file actions
32 lines (31 loc) · 676 Bytes
/
git.nix
File metadata and controls
32 lines (31 loc) · 676 Bytes
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
{config, ...}: {
hm = {
programs = {
git = {
enable = true;
ignores = ["*~"];
signing = {
key = "4B9FC04B9EE7F4AE99A7573493DDCD7A2B3F3B88";
format = "openpgp";
signByDefault = config.machine != "wsl";
};
lfs.enable = true;
settings = {
user = {
name = "Alex Rice";
email = "alexrice999@hotmail.co.uk";
};
core.filemode = false;
pull.rebase = true;
credential.helper = "store";
};
};
gh = {
enable = true;
settings = {
version = 1;
};
};
};
};
}