diff --git a/homes/x86_64-linux/marley@nyx/default.nix b/homes/x86_64-linux/marley@nyx/default.nix index b7d4119..6af898d 100644 --- a/homes/x86_64-linux/marley@nyx/default.nix +++ b/homes/x86_64-linux/marley@nyx/default.nix @@ -36,6 +36,7 @@ in amfora = enabled; bat = enabled; btop = enabled; + calibre = enabled; cava = enabled; cheat = enabled; curl = enabled; diff --git a/modules/home/programs/calibre/default.nix b/modules/home/programs/calibre/default.nix new file mode 100644 index 0000000..6ad542f --- /dev/null +++ b/modules/home/programs/calibre/default.nix @@ -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 + ]; + }; +}