nix-config/home/calibre/default.nix
Bruno BELANYI ac725bd5e4 home: add calibre
Ideally I will extend this module to handle the plugin (and
dependencies) natively.
2023-06-24 17:02:01 +01:00

16 lines
329 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.calibre;
in
{
options.my.home.calibre = with lib; {
enable = mkEnableOption "calibre configuration";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
calibre # NOTE: relies on my overlay to add necessary plug-in dependencies
];
};
}