diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-18 03:02:38 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-18 03:02:38 +0530 |
| commit | 0f386b9c4292c573cf06ecc1c00b97be6de408a3 (patch) | |
| tree | d6157d2304e5ea6106475865d0bf45fc0e8f85c3 /modules | |
| parent | a05f8c2b9b26da3eb5533e905e873d71c6e58dfe (diff) | |
| download | home-manager-config-0f386b9c4292c573cf06ecc1c00b97be6de408a3.tar.gz home-manager-config-0f386b9c4292c573cf06ecc1c00b97be6de408a3.zip | |
feat(development/ripgrep): added ripgrep
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/development/default.nix | 1 | ||||
| -rw-r--r-- | modules/development/ripgrep/default.nix | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/modules/development/default.nix b/modules/development/default.nix index f95ab79..5f34c98 100644 --- a/modules/development/default.nix +++ b/modules/development/default.nix @@ -11,6 +11,7 @@ ./nixvim ./opencode ./qemu + ./ripgrep ./vscodium ]; } diff --git a/modules/development/ripgrep/default.nix b/modules/development/ripgrep/default.nix new file mode 100644 index 0000000..16c70d0 --- /dev/null +++ b/modules/development/ripgrep/default.nix @@ -0,0 +1,23 @@ +# recursively search for a given regex +{ + config, + lib, + ... +}: +{ + options.development.ripgrep = { + enable = lib.mkEnableOption "Enables ripgrep."; + package = lib.mkOption { + type = lib.types.package; + readOnly = true; + default = config.programs.ripgrep.package; + description = "The ripgrep package to use."; + }; + }; + + config = lib.mkIf config.development.ripgrep.enable { + programs.ripgrep = { + enable = true; + }; + }; +} |
