mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
b4 (https://b4.docs.kernel.org) is a tool for kernel-style patch and email review workflows on lore.kernel.org. The module installs b4 and writes its configuration to git-config's [b4] section -- b4 has no config file of its own -- defaulting to a recommended Claude Code review-agent wiring. The review-editor highlighting and agent-reviewer prompt b4 ships under misc/ are missing from its PyPI sdist; the module pulls them from the nixpkgs packages added in NixOS/nixpkgs#543347 rather than fetching the b4 repository itself. Assisted-By: Claude Opus 4.8 (1M context)
9 lines
172 B
Nix
9 lines
172 B
Nix
{
|
|
# By default the module writes no [b4] git-config at all.
|
|
programs.b4.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/git/config
|
|
'';
|
|
}
|