1
0
Fork 0
nix-configuration/modules/apps/writing.nix

26 lines
454 B
Nix
Raw Permalink Normal View History

{
pkgs,
config,
lib,
...
}:
2024-05-01 21:10:26 -04:00
let
cfg = config.aux.system.apps.writing;
2024-05-01 21:10:26 -04:00
in
{
options = {
2024-09-08 11:58:56 -04:00
aux.system.apps.writing.enable = lib.mkEnableOption "Enables writing and editing tools";
};
2024-05-01 21:10:26 -04:00
config = lib.mkIf cfg.enable {
# Install packages for building ebooks
environment.systemPackages = with pkgs; [
haskellPackages.pandoc
haskellPackages.pandoc-cli
haskellPackages.pandoc-crossref
texliveSmall
];
};
}