1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/patdiff/patdiff-with-git-integration.nix
Austin Horstman 41fd9b197c tests/patdiff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00

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'
'';
}