feat(home): Calibre
This commit is contained in:
parent
4efc63bf98
commit
7b57e86d34
2 changed files with 21 additions and 0 deletions
|
@ -36,6 +36,7 @@ in
|
|||
amfora = enabled;
|
||||
bat = enabled;
|
||||
btop = enabled;
|
||||
calibre = enabled;
|
||||
cava = enabled;
|
||||
cheat = enabled;
|
||||
curl = enabled;
|
||||
|
|
20
modules/home/programs/calibre/default.nix
Normal file
20
modules/home/programs/calibre/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue