From d56b3bb3597176e09a473ee61e6bca8e6eb68359 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Fri, 3 Jan 2025 21:38:24 -0700 Subject: [PATCH] Add calibre --- .vscode/settings.json | 5 +++++ home-manager/config/packages.nix | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1654851 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "pkgs" + ] +} \ No newline at end of file diff --git a/home-manager/config/packages.nix b/home-manager/config/packages.nix index 1d8b57c..a99dc95 100755 --- a/home-manager/config/packages.nix +++ b/home-manager/config/packages.nix @@ -35,6 +35,13 @@ hunspell hunspellDicts.en_US-large pkgs-stable.orca-slicer # 3d-printing + (pkgs.calibre.overrideAttrs (old: { + postInstall = '' + wrapProgram $out/bin/calibre \ + --set-default ACSM_LIBCRYPTO ${pkgs.openssl.out}/lib/libcrypto.so \ + --set-default ACSM_LIBSSL ${pkgs.openssl.out}/lib/libssl.so + ''; + })) # E-book reading (with overridden openssl libs for acsm-calibre-plugin support) # Video jellyfin-media-player # Jellyfin electron client w/ MPV