1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-29 05:31:03 +01:00
home-manager/tests/modules/programs/pet/snippets.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

19 lines
352 B
Nix

{
programs.pet = {
enable = true;
snippets = [
{
description = "git: search full history for regex";
command = "git log -p -G <regex>";
tag = [
"git"
"regex"
];
}
];
};
nmt.script = ''
assertFileContent home-files/.config/pet/snippet.toml ${./snippet.toml}
'';
}