diff --git a/modules/base/default.nix b/modules/base/default.nix index 632e8bf..cf0ef2e 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -5,6 +5,7 @@ ./home-manager.nix ./impermanence.nix ./network.nix + ./ripgrep.nix ./ssh.nix ./system.nix ./users.nix diff --git a/modules/base/ripgrep.nix b/modules/base/ripgrep.nix new file mode 100644 index 0000000..0b31fdf --- /dev/null +++ b/modules/base/ripgrep.nix @@ -0,0 +1,11 @@ +{ home-manager, ... }: { + + home-manager.users.caspervk = { + programs.ripgrep = { + enable = true; + arguments = [ + "--smart-case" + ]; + }; + }; +} diff --git a/modules/base/system.nix b/modules/base/system.nix index 3fc10fb..b43f984 100644 --- a/modules/base/system.nix +++ b/modules/base/system.nix @@ -41,7 +41,6 @@ progress pwgen python3 - ripgrep rsync sqlite tmux diff --git a/overlays/default.nix b/overlays/default.nix index 61c403a..9e9de3c 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,5 +1,6 @@ { ... }: { imports = [ ./kanshi.nix + ./ripgrep.nix ]; } diff --git a/overlays/ripgrep.nix b/overlays/ripgrep.nix new file mode 100644 index 0000000..e46bbb1 --- /dev/null +++ b/overlays/ripgrep.nix @@ -0,0 +1,7 @@ +{ home-manager, home-manager-unstable, ... }: { + # ripgrep isn't in Home Manager v23.05 + + home-manager.users.caspervk = { + imports = [ "${home-manager-unstable}/modules/programs/ripgrep.nix" ]; + }; +}