mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
14 lines
339 B
Nix
14 lines
339 B
Nix
{
|
|
programs.patdiff = {
|
|
enable = true;
|
|
enableGitIntegration = true;
|
|
};
|
|
|
|
programs.git.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/git/config
|
|
assertFileContains home-files/.config/git/config '[diff]'
|
|
assertFileRegex home-files/.config/git/config 'external = .*/patdiff-git-wrapper'
|
|
'';
|
|
}
|