Git Leaf

cells/shell/git.nix configures Git through Home Manager and attaches it to the base branch.

Up: shell leaves

Down: core options

What this leaf does

It enables Git, reads identity from my.user, configures Delta, sets aliases, configures Neovim-based diff and merge tools, enables LFS filters, and adds global ignore patterns.

let
  u = config.my.user;
in {
  programs.git = {
    enable = true;
    settings.user = {
      name = u.fullName;
      email = u.email;
    };
  };
}

Why it belongs to base

Git is a core developer workflow tool. It belongs near the shell trunk, not inside a specific desktop application leaf.

Privacy note

The real config can contain personal identity and repository URL rewrites. Public documentation should show placeholder names, emails, and usernames.