beatific: wrap ebook-convert

I don't want calibre installed, it keeps setting itself as the default app for things, I just want to convert ebook formats
This commit is contained in:
Tim Van Baak 2024-05-26 20:51:38 -07:00
parent 4acd2bfb63
commit 6078624d88

View File

@ -135,7 +135,9 @@ in {
(mkIf cfg.extraPrograms {
environment.systemPackages = with pkgs; [
calibre # provides ebook-convert
(pkgs.writeShellScriptBin "ebook-convert" ''
exec ${pkgs.calibre}/bin/ebook-convert "$@"
'')
imagemagick # image convertion cli
puddletag # mp3 tag editor
tesseract # OCR engine