From 58b5e9a452cf9fafd8e4273fd84a42f6f1a028e3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 27 Feb 2025 21:07:01 +0000 Subject: [PATCH] Remove ripgrep Remove ripgrep globally but keep it installed in Neovim so live grep will continue to work. --- nix/home/opdavies/default.nix | 1 - nix/modules/home-manager/features/cli/default.nix | 1 - nix/modules/home-manager/features/cli/neovim.nix | 1 + nix/modules/home-manager/features/cli/ripgrep.nix | 9 --------- 4 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 nix/modules/home-manager/features/cli/ripgrep.nix diff --git a/nix/home/opdavies/default.nix b/nix/home/opdavies/default.nix index d389ac3..649530e 100644 --- a/nix/home/opdavies/default.nix +++ b/nix/home/opdavies/default.nix @@ -69,6 +69,5 @@ in ]; PULUMI_SKIP_UPDATE_CHECK = "true"; REPOS = "$HOME/Code"; - RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config"; }; } diff --git a/nix/modules/home-manager/features/cli/default.nix b/nix/modules/home-manager/features/cli/default.nix index e074b3d..c0c7e06 100644 --- a/nix/modules/home-manager/features/cli/default.nix +++ b/nix/modules/home-manager/features/cli/default.nix @@ -10,7 +10,6 @@ ./neovim.nix ./notes.nix ./phpactor.nix - ./ripgrep.nix ./starship.nix ./syncthing.nix ./tmux.nix diff --git a/nix/modules/home-manager/features/cli/neovim.nix b/nix/modules/home-manager/features/cli/neovim.nix index 5fcca72..157f86c 100644 --- a/nix/modules/home-manager/features/cli/neovim.nix +++ b/nix/modules/home-manager/features/cli/neovim.nix @@ -170,6 +170,7 @@ in phpPackages.php-codesniffer phpPackages.phpstan proselint + ripgrep shellcheck yamllint ]; diff --git a/nix/modules/home-manager/features/cli/ripgrep.nix b/nix/modules/home-manager/features/cli/ripgrep.nix deleted file mode 100644 index 2d6aa72..0000000 --- a/nix/modules/home-manager/features/cli/ripgrep.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: -{ - home.packages = with pkgs; [ ripgrep ]; - - xdg.configFile."ripgrep/config".text = '' - --follow - --smart-case - ''; -}