nix-config/modules/nix/ebook/calibre.nix
smayzy 85f0b82334
All checks were successful
nix flake show / show-flake (push) Successful in 27s
mv calibre to modules
2025-07-21 14:40:21 +02:00

16 lines
317 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.calibre.enable = mkOption {
type = types.bool;
default = false;
description = "enable calibre";
};
config = mkIf config.smayzy.calibre.enable {
environment.systemPackages = with pkgs; [ calibre ];
};
}