feat(home): ripgrep

This commit is contained in:
punkfairie 2024-11-16 19:41:14 -08:00
parent fc7e31558f
commit 1e629226db
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
3 changed files with 20 additions and 6 deletions

View file

@ -37,6 +37,7 @@ in
ncmpcpp = enabled;
neo = enabled;
rbw = enabled;
ripgrep = enabled;
systemctl = enabled;
};
xorg = {

View file

@ -0,0 +1,19 @@
{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.ripgrep;
in
{
options = mkEnableModule "programs.ripgrep";
config = mkIf cfg.enable {
programs.ripgrep.enable = true;
};
}

View file

@ -1,6 +0,0 @@
{ ... }:
{
programs.ripgrep = {
enable = true;
};
}