utility/images: add magick to lua packages

This commit is contained in:
Frothy 2024-02-17 17:06:05 -05:00 committed by NotAShelf
parent 7cb428520b
commit d7878b525c
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -10,12 +10,13 @@
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {
startPlugins = startPlugins = [
[
"image-nvim" "image-nvim"
# TODO: needs luarockss here somehow ];
]
++ (attrValues {inherit (pkgs) luarocks imagemagick;}); luaPackages = [
"magick"
];
luaConfigRC.image-nvim = nvim.dag.entryAnywhere '' luaConfigRC.image-nvim = nvim.dag.entryAnywhere ''
require("image").setup( require("image").setup(