return {
    "ibhagwan/fzf-lua",
    -- optional for icon support
    dependencies = {
        {
            "nvim-tree/nvim-web-devicons",
            dir = require("lazy-nix-helper").get_plugin_path("nvim-web-devicons"),
        },
        {
            "nvim-treesitter/nvim-treesitter-context",
            dir = require("lazy-nix-helper").get_plugin_path("nvim-treesitter-context"),
        },
    },
    opts = {
        "max-perf",
        winopts = {
            preview = { default = "bat" },
            treesitter = true,
        },
        previewers = {
            bat = {
                cmd = "bat",
                args = "--color=always --style=changes",
            },
        },
        fzf_opts = {
            ["--border"] = "rounded",
            ["--preview"] = true,
        },
    },
    dir = require("lazy-nix-helper").get_plugin_path("fzf-lua"),
    keys = {
        {
            "<C-p>",
            function()
                return require("fzf-lua").files()
            end,
        },
        {
            "<Leader>ff",
            function()
                return require("fzf-lua").files()
            end,
        },
        {
            "<C-g>",
            function()
                return require("fzf-lua").live_grep_native({ resume = true })
            end,
        },
        {
            "<Leader>fg",
            function()
                return require("fzf-lua").live_grep_native({ resume = true })
            end,
        },
    },
}
