diff options
author | Alan Pearce | 2023-08-20 18:06:44 +0200 |
---|---|---|
committer | Alan Pearce | 2023-08-20 18:07:18 +0200 |
commit | 7b4162333a7774d5b1fe0848995d8e316686ff64 (patch) | |
tree | b417dfc53e2bf7d90a21d299f9b0f540d10ca534 /user | |
parent | a1e7e0bc3e2cf040d24580ecfe3f73899b358aa1 (diff) | |
download | nixfiles-7b4162333a7774d5b1fe0848995d8e316686ff64.tar.lz nixfiles-7b4162333a7774d5b1fe0848995d8e316686ff64.tar.zst nixfiles-7b4162333a7774d5b1fe0848995d8e316686ff64.zip |
base: use ripgrep module to supply custom package and arguments
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/base.nix | 8 | ||||
-rw-r--r-- | user/settings/development/base.nix | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index c3691c53..49ff04bf 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -52,12 +52,18 @@ }; }; 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 diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix index ff59df87..f619324f 100644 --- a/user/settings/development/base.nix +++ b/user/settings/development/base.nix @@ -39,11 +39,6 @@ in docker-client ]; - nixpkgs.overlays = [ - (self: super: { - ripgrep = super.ripgrep.override { withPCRE2 = true; }; - }) - ]; home.sessionVariables = { FLY_NO_UPDATE_CHECK = "1"; LIMA_INSTANCE = "nixos"; |