nix-files/hosts/common/programs/imagemagick.nix

14 lines
427 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
sane.programs.imagemagick = {
2024-01-28 11:43:05 +00:00
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
2024-01-28 11:43:05 +00:00
sandbox.whitelistPwd = true;
sandbox.autodetectCliPaths = "existingFileOrParent"; #< arg formatting is complicated enough that this won't always work.
packageUnwrapped = pkgs.imagemagick.override {
ghostscriptSupport = true;
};
suggestedPrograms = [ "ghostscript" ];
};
}