mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-29 05:31:03 +01:00
19 lines
352 B
Nix
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}
|
|
'';
|
|
}
|