diff --git a/lib/shared/home-manager.nix b/lib/shared/home-manager.nix index 9fbf147..caaa68c 100644 --- a/lib/shared/home-manager.nix +++ b/lib/shared/home-manager.nix @@ -23,6 +23,7 @@ in ./modules/direnv.nix ./modules/fzf.nix ./modules/lsd.nix + ./modules/pet.nix ./modules/phpactor.nix ./modules/ripgrep.nix ./modules/syncthing.nix diff --git a/lib/shared/modules/pet.nix b/lib/shared/modules/pet.nix new file mode 100644 index 0000000..eae5c7e --- /dev/null +++ b/lib/shared/modules/pet.nix @@ -0,0 +1,24 @@ +{ + programs.pet = { + enable = true; + + snippets = [ + { + command = "nix flake lock --update-input "; + 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" + ]; + } + ]; + }; +}