1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-09 12:06:04 +01:00
home-manager/tests/modules/programs/git-cliff/example-settings.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

21 lines
425 B
Nix

{
programs.git-cliff = {
enable = true;
settings = {
header = "Changelog";
footer = "<!-- generated by git-cliff -->";
trim = true;
};
};
nmt.script = ''
assertFileContent \
home-files/.config/git-cliff/cliff.toml \
${builtins.toFile "expected.toml" ''
footer = "<!-- generated by git-cliff -->"
header = "Changelog"
trim = true
''}
'';
}