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; + }; + +}