summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/base.nix8
-rw-r--r--user/settings/development/base.nix5
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";