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

21 lines
287 B
Nix
Raw Normal View History

2024-11-23 14:11:09 -08:00
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.calibre;
in
{
options.marleyos.programs.calibre.enable = mkEnableOption "calibre";
config = mkIf cfg.enable {
home.packages = with pkgs; [
calibre
];
};
}