Manage ripgrep with Home Manager

This commit is contained in:
Oliver Davies 2023-12-17 17:52:59 +00:00
parent 8deb363f76
commit 5e6bee6432
4 changed files with 9 additions and 7 deletions

View file

@ -27,7 +27,6 @@ with pkgs; [
neofetch
pkgsUnstable.rustywind
pv
ripgrep
tldr
tree
tree-sitter

View file

@ -38,10 +38,15 @@
home.sessionPath = [ "$HOME/.config/bin" ];
xdg.configFile."ripgrep/config".text = ''
--follow
--smart-case
'';
programs.ripgrep = {
enable = true;
arguments = [
"--follow"
"--hidden"
"--smart-case"
];
};
xdg.configFile.bin = {
source = ../../bin;