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(