Experiment with pet
for snippets
https://github.com/knqyf263/pet Seen on https://youtu.be/fU8HB1cvG9w?si=-lPdL1csAB_4D6tL&t=653.
This commit is contained in:
parent
95f6620c47
commit
9f860ee6f2
|
@ -23,6 +23,7 @@ in
|
||||||
./modules/direnv.nix
|
./modules/direnv.nix
|
||||||
./modules/fzf.nix
|
./modules/fzf.nix
|
||||||
./modules/lsd.nix
|
./modules/lsd.nix
|
||||||
|
./modules/pet.nix
|
||||||
./modules/phpactor.nix
|
./modules/phpactor.nix
|
||||||
./modules/ripgrep.nix
|
./modules/ripgrep.nix
|
||||||
./modules/syncthing.nix
|
./modules/syncthing.nix
|
||||||
|
|
24
lib/shared/modules/pet.nix
Normal file
24
lib/shared/modules/pet.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
programs.pet = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
snippets = [
|
||||||
|
{
|
||||||
|
command = "nix flake lock --update-input <input-name>";
|
||||||
|
description = "Display a log of a Git repository, showing each commit on its own line.";
|
||||||
|
output = "";
|
||||||
|
tag = [ "git" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
command = "nix flake lock --update-input opdavies-nvim";
|
||||||
|
description = "Update a single input within a Nix flake.";
|
||||||
|
output = "";
|
||||||
|
tag = [
|
||||||
|
"nix"
|
||||||
|
"nix-flake"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue