home: add calibre

Ideally I will extend this module to handle the plugin (and
dependencies) natively.
This commit is contained in:
Bruno BELANYI 2023-06-24 16:30:06 +01:00
parent 89168324e7
commit ac725bd5e4
2 changed files with 16 additions and 0 deletions

15
home/calibre/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ 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
];
};
}

View file

@ -5,6 +5,7 @@
./atuin ./atuin
./bat ./bat
./bluetooth ./bluetooth
./calibre
./comma ./comma
./dircolors ./dircolors
./direnv ./direnv