{ lib, osConfig, config, ... }: let cfg = osConfig.settings.programs; in { config = lib.mkIf (cfg.cli.enable && cfg.categories.tools.enable) { programs.fzf = { enable = true; enableBashIntegration = config.programs.bash.enable; enableFishIntegration = config.programs.fish.enable; enableZshIntegration = config.programs.zsh.enable; }; }; }