base: use ripgrep module to supply custom package and arguments
Alan Pearce alan@alanpearce.eu
Sun, 20 Aug 2023 18:06:44 +0200
2 files changed, 7 insertions(+), 6 deletions(-)
M user/settings/base.nix → user/settings/base.nix
@@ -52,12 +52,18 @@ theme = "gruvbox-light"; }; }; programs.nix-index-database.comma.enable = true; + programs.ripgrep = { + enable = true; + package = pkgs.ripgrep.override { withPCRE2 = true; }; + arguments = [ + "--smart-case" + ]; + }; home.packages = with pkgs; [ pv fd sd - ripgrep knot-dns dateutils moreutils
M user/settings/development/base.nix → user/settings/development/base.nix
@@ -39,11 +39,6 @@ colima docker-client ]; - nixpkgs.overlays = [ - (self: super: { - ripgrep = super.ripgrep.override { withPCRE2 = true; }; - }) - ]; home.sessionVariables = { FLY_NO_UPDATE_CHECK = "1"; LIMA_INSTANCE = "nixos";