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