nixos/pkgsets/nvim/image.nix
2025-07-02 16:42:50 +02:00

23 lines
422 B
Nix

{
lib,
config,
...
}:
lib.mkIf (lib.elem "nvim::image" config.machine.pkgs) {
programs.nvim-lazy = {
lazyPlugins = [
{
lazy = false;
dir = vPlug: vPlug.image-nvim;
opts = {
processor = "magick_cli";
integrations.markdown = {
only_render_image_at_cursor = true;
};
};
}
];
extraLuaPackages = p: [ p.magick ];
};
}