oizys/modules/langs/tex.nix

17 lines
277 B
Nix
Raw Permalink Normal View History

2024-01-23 19:13:42 -06:00
{
config,
lib,
pkgs,
...
}: let
2024-01-23 15:36:52 -06:00
inherit (lib) mkEnableOption mkIf;
2024-01-25 12:23:32 -06:00
cfg = config.languages;
2024-01-23 19:13:42 -06:00
in {
2024-01-25 12:23:32 -06:00
options.languages.tex = mkEnableOption "tex";
config = mkIf cfg.tex {
2024-01-23 19:13:42 -06:00
environment.systemPackages = with pkgs; [
texlive.combined.scheme-full
];
};
2024-01-23 11:51:13 -06:00
}