diff --git a/home/calibre/default.nix b/home/calibre/default.nix new file mode 100644 index 0000000..e0f2069 --- /dev/null +++ b/home/calibre/default.nix @@ -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 + ]; + }; +} diff --git a/home/default.nix b/home/default.nix index 7fbd406..6b6ad36 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,6 +5,7 @@ ./atuin ./bat ./bluetooth + ./calibre ./comma ./dircolors ./direnv