diff options
Diffstat (limited to 'modules/by-name/lf/lf/ctpv/prev/application/epub/default.nix')
-rw-r--r-- | modules/by-name/lf/lf/ctpv/prev/application/epub/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/by-name/lf/lf/ctpv/prev/application/epub/default.nix b/modules/by-name/lf/lf/ctpv/prev/application/epub/default.nix new file mode 100644 index 00000000..33c51352 --- /dev/null +++ b/modules/by-name/lf/lf/ctpv/prev/application/epub/default.nix @@ -0,0 +1,14 @@ +{pkgs, ...}: { + soispha.programs.lf.ctpv.previewers = { + epub = { + previewer = ./epub.sh; + matches.mime = ["application/epub+zip"]; + matches.extension = ["epub"]; + priority = 1; + dependencies = with pkgs; [ + bk + epub-thumbnailer + ]; + }; + }; +} |