kore / home / features / cli / git.nix41 lines · 682B · raw
1{ config, ... }:
2
3{
4 programs.git = {
5 enable = true;
6
7 ignores = [
8 "CLAUDE.md"
9 ".claude/"
10 "**/.claude/settings.local.json"
11 ];
12
13 settings = {
14 user = {
15 name = "lostduk";
16 email = "[email protected]";
17
18 signing.key = "0x024E39A2037D1BBC";
19 };
20
21 alias = {
22 l = "log --oneline";
23 lg = "log --oneline --decorate --graph";
24
25 s = "status";
26
27 fuck = "reset --hard";
28 shit = "reset --soft";
29 };
30
31 init.defaultBranch = "main";
32
33 gpg.program = "${config.programs.gpg.package}/bin/gpg2";
34
35 commit = {
36 verbose = true;
37 gpgSign = true;
38 };
39 };
40 };
41}