home: add calibre
Ideally I will extend this module to handle the plugin (and dependencies) natively.
This commit is contained in:
parent
89168324e7
commit
ac725bd5e4
2 changed files with 16 additions and 0 deletions
15
home/calibre/default.nix
Normal file
15
home/calibre/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
./atuin
|
./atuin
|
||||||
./bat
|
./bat
|
||||||
./bluetooth
|
./bluetooth
|
||||||
|
./calibre
|
||||||
./comma
|
./comma
|
||||||
./dircolors
|
./dircolors
|
||||||
./direnv
|
./direnv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue