nvim: move to services we do not specify a pkgset
This commit is contained in:
parent
465a6b19d1
commit
11b98d8146
45 changed files with 38 additions and 37 deletions
23
services/nvim/image.nix
Normal file
23
services/nvim/image.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue