mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
16 lines
302 B
Nix
16 lines
302 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.utils.writing;
|
|
|
|
in
|
|
{ options.modules.user.utils.writing = { enable = mkEnableOption "Enable writing tools"; };
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
mdbook
|
|
pandoc
|
|
asciidoctor
|
|
];
|
|
};
|
|
}
|