2023-06-24 17:30:06 +02:00
|
|
|
{ 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; [
|
2023-09-26 18:38:27 +02:00
|
|
|
calibre
|
2023-06-24 17:30:06 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|