nixos/modules/base/ripgrep.nix
2023-08-25 00:57:42 +02:00

17 lines
460 B
Nix

{ home-manager, ... }: {
# ripgrep is a line-oriented search tool that recursively searches the
# current directory for a regex pattern.
# https://github.com/BurntSushi/ripgrep
home-manager.users.caspervk = {
programs.ripgrep = {
enable = true;
arguments = [
# Search case-insensitively by defaylt if the pattern is all lowercase.
# Use --case-sensitive or -s to override.
"--smart-case"
];
};
};
}