my system configurations ^-^
1{
2 lib,
3 osConfig,
4 ...
5}: let
6 cfg = osConfig.settings.programs;
7in {
8 config = lib.mkIf (cfg.cli.enable
9 && cfg.categories.tools.enable) {
10 programs.ripgrep = {
11 enable = true;
12
13 # https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#configuration-file
14 arguments = [
15 "--max-columns=150"
16 "--max-columns-preview"
17 "--glob=!.git/*"
18 "--smart-case"
19 ];
20 };
21 };
22}