20 lines
298 B
Nix
20 lines
298 B
Nix
{
|
|
config,
|
|
lib,
|
|
namespace,
|
|
...
|
|
}: let
|
|
cfg = config.${namespace}.programs.fzf;
|
|
in {
|
|
options.${namespace}.programs.fzf = {
|
|
enable = lib.mkEnableOption "fzf";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
programs.fzf = {
|
|
enable = true;
|
|
catppuccin.enable = true;
|
|
};
|
|
};
|
|
}
|