Calibre

Revision as of 05:35, 5 September 2025 by Railwhale (talk | contribs) (Improve formatting, add top level usage heading, remove generic page description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Calibre is program to view, edit, convert and print ebooks.

Usage

Connecting USB devices

To connect devices via USB, you might have to add the following to your NixOS configuration:

services.udisks2.enable = true;

.cbr files

If you want to open .cbr files, you need to add the following lines to your NixOS configuration:

environment.systemPackages = with pkgs; [      
  (calibre.override {
    unrarSupport = true;
  })
];
Note: calibre requires several unfree packages to open .cbr files. If you are using allowUnfreePredicate you will need to ensure that your configurations permit all of them.
{
  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
    "calibre"
    "unrar"
  ];
}