nix-config/modules/nix/base-cli/fzf.nix
2025-07-08 17:31:23 +02:00

19 lines
343 B
Nix

{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.fzf.enable = mkOption {
type = types.bool;
default = false;
description = "use fzf";
};
config = mkIf config.smayzy.fzf.enable {
environment.systemPackages = with pkgs; [
fzf
];
programs.fzf.keybindings = true;
};
}