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/riff/riff-basic.nix
Austin Horstman 7522ba8a0c tests/riff: add
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-19 10:24:15 -05:00

13 lines
392 B
Nix

{
programs.riff = {
enable = true;
commandLineOptions = [ "--no-adds-only-special" ];
};
programs.git.enable = true;
nmt.script = ''
# Git config should NOT contain riff configuration since enableGitIntegration is false by default
assertFileNotRegex home-files/.config/git/config '\[pager\]'
assertFileNotRegex home-files/.config/git/config 'diff = riff'
'';
}