fork/home-manager
git clone https://git.julia.blue/fork/home-manager
1e7e8ac7
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . pet = { 8enable = true ; 9selectcmdPackage = pkgs . writeScriptBin "pet-cmd" "" // { 10outPath = "@pet-cmd@" ; 11}; 12snippets = [{ 13description = "git: search full history for regex" ; 14command = "git log -p -G <regex>" ; 15tag = [ "git" "regex" ]; 16}]; 17}; 18 19nixpkgs . overlays = [ 20( self :super :{ 21pet = pkgs . writeScriptBin "pet" "" // { outPath = "@pet@" ; }; 22}) 23]; 24 25nmt . script = '' 26assertFileContent home-files/.config/pet/snippet.toml ${ ./snippet.toml } 27'' ; 28}; 29}