diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-17 01:57:58 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:27 +0530 |
| commit | f001094478a394b70f32425c7fcc0d715950b851 (patch) | |
| tree | 2fe18de810beae2b0a62905a5610eaf0405529ab /modules/development/git/default.nix | |
| parent | 131855d2da43d56afae684d9d78743ba24800d0f (diff) | |
| download | home-manager-config-f001094478a394b70f32425c7fcc0d715950b851.tar.gz home-manager-config-f001094478a394b70f32425c7fcc0d715950b851.zip | |
feat: removed git-graph package
- git-graph wasn't versatile enough
Diffstat (limited to 'modules/development/git/default.nix')
| -rw-r--r-- | modules/development/git/default.nix | 45 |
1 files changed, 2 insertions, 43 deletions
diff --git a/modules/development/git/default.nix b/modules/development/git/default.nix index 8e27d3b..e9580a0 100644 --- a/modules/development/git/default.nix +++ b/modules/development/git/default.nix @@ -46,49 +46,9 @@ config = lib.mkIf config.development.git.enable { home.packages = with pkgs; [ - git-graph gawk ]; - xdg.configFile."git-graph/models/custom.toml".text = '' - persistence = [ - '^(master|main|trunk)$', - '^(develop|dev)$', - '^feature.*$', - '^release.*$', - '^hotfix.*$', - '^bugfix.*$', - ] - - order = [ - '^(master|main|trunk)$', - '^(hotfix|release).*$', - '^(develop|dev)$', - ] - - [terminal_colors] - matches = [ - ['^(master|main|trunk)$', ['bright_blue']], - ['^(develop|dev)$', ['bright_yellow']], - ['^(feature|fork/).*$', ['bright_magenta', 'bright_cyan']], - ['^release.*$', ['bright_green']], - ['^(bugfix|hotfix).*$', ['bright_red']], - ['^tags/.*$', ['bright_green']], - ] - unknown = ['bright_white', 'bright_red', 'bright_green', 'bright_yellow', 'bright_blue', 'bright_magenta', 'bright_cyan'] - - [svg_colors] - matches = [ - ['^(master|main|trunk)$', ['blue']], - ['^(develop|dev)$', ['orange']], - ['^(feature|fork/).*$', ['magenta', 'cyan']], - ['^release.*$', ['green']], - ['^(bugfix|hotfix).*$', ['red']], - ['^tags/.*$', ['gray', 'purple', 'teal', 'brown']] - ] - unknown = ['gray', 'purple', 'teal', 'brown'] - ''; - programs.git = { enable = true; signing = { @@ -103,9 +63,8 @@ email = config.development.git.email; }; core.askPass = ""; - alias = { - log-graph = "!git-log-graph"; - log-graph-embed = "!GIT_LOG_GRAPH_EMBED=1 git-log-graph"; + log = { + showSignature = true; }; } ( |
