From 5ca96feadbe6a0a42709477ead5490dda0b6c15f Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:22:29 +0100 Subject: [PATCH] configured ripgrep --- hosts/laptop/configuration.nix | 1 - hosts/laptop/home.nix | 1 + modules/home-manager/ripgrep.nix | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 modules/home-manager/ripgrep.nix diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 81ea6c9..06514c0 100755 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -164,7 +164,6 @@ wl-clipboard # cli copy/past utilities for Wayland jp # lightweight and flexible cli JSON parser notepad-next libnotify # Library that sends desktop notifications to a notification daemon -ripgrep #better grepp hyprkeys # keybind helper cowsay cmatrix diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 5ef0c99..f5928cd 100755 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -26,6 +26,7 @@ imports = [ ../../modules/home-manager/anki.nix # we use only for some settings. see ../../modules/nixos/anki.nix for activating ../../modules/home-manager/librewolf.nix # privacy browser ../../modules/home-manager/cursor.nix # cursor (the icon not the app) +../../modules/home-manager/ripgrep.nix # better grep ]; diff --git a/modules/home-manager/ripgrep.nix b/modules/home-manager/ripgrep.nix new file mode 100644 index 0000000..e9d7493 --- /dev/null +++ b/modules/home-manager/ripgrep.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: + +{ + programs.ripgrep = { + enable = true; + arguments = [ + "-S" + "-." + "-p" + "-n" + "-c" + ]; + }; + programs.ripgrep-all = { + enable = true; + }; + +}