From d7878b525c52b9faa5b2cc33638e7078aa4f4729 Mon Sep 17 00:00:00 2001 From: Frothy <76622149+FrothyMarrow@users.noreply.github.com> Date: Sat, 17 Feb 2024 17:06:05 -0500 Subject: [PATCH] utility/images: add magick to lua packages --- modules/utility/images/image-nvim/config.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/utility/images/image-nvim/config.nix b/modules/utility/images/image-nvim/config.nix index f0d1746..eca14a8 100644 --- a/modules/utility/images/image-nvim/config.nix +++ b/modules/utility/images/image-nvim/config.nix @@ -10,12 +10,13 @@ in { config = mkIf cfg.enable { vim = { - startPlugins = - [ - "image-nvim" - # TODO: needs luarockss here somehow - ] - ++ (attrValues {inherit (pkgs) luarocks imagemagick;}); + startPlugins = [ + "image-nvim" + ]; + + luaPackages = [ + "magick" + ]; luaConfigRC.image-nvim = nvim.dag.entryAnywhere '' require("image").setup(