marleyos/modules/home/programs/calibre/default.nix

16 lines
257 B
Nix

{
lib,
config,
pkgs,
...
}: let
cfg = config.marleyos.programs.calibre;
in {
options.marleyos.programs.calibre.enable = lib.mkEnableOption "calibre";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
calibre
];
};
}