nixos-config/modules/nixos/desktop/calibre.nix
2025-11-10 13:58:46 -06:00

20 lines
403 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [];
options = {
zw.calibre = {
enable = lib.mkEnableOption "Enable Calibre";
};
};
config = {
# NOTE: Without unrar support we can't open ".cbr" files.
environment.systemPackages = with pkgs; [
calibre
];
services.udisks2.enable = true;
};
# NOTE: Consider adding https://github.com/nydragon/calibre-plugins
}