From 7b57e86d34f45da8acfbc7b480052f07c01ce531 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 23 Nov 2024 14:11:09 -0800 Subject: [PATCH] feat(home): Calibre --- homes/x86_64-linux/marley@nyx/default.nix | 1 + modules/home/programs/calibre/default.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 modules/home/programs/calibre/default.nix 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 + ]; + }; +}