{
  config,
  lib,
  pkgs,
  ...
}: {
  options.dotfiles.inputs.home-manager.home.packages.asciidoctor.enable =
    lib.dotfiles.mkEnableOption;

  config =
    lib.mkIf
    config.dotfiles.inputs.home-manager.home.packages.asciidoctor.enable
    {
      home.packages = [pkgs.asciidoctor-with-extensions];
    };
}
