oizys/modules/langs/tex.nix
2024-01-25 12:23:32 -06:00

16 lines
277 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.languages;
in {
options.languages.tex = mkEnableOption "tex";
config = mkIf cfg.tex {
environment.systemPackages = with pkgs; [
texlive.combined.scheme-full
];
};
}