marleyos/modules/home/programs/ripgrep/default.nix

13 lines
231 B
Nix

{
lib,
config,
...
}: let
cfg = config.marleyos.programs.ripgrep;
in {
options.marleyos.programs.ripgrep.enable = lib.mkEnableOption "ripgrep";
config = lib.mkIf cfg.enable {
programs.ripgrep.enable = true;
};
}