oizys/modules/languages/tex.nix

17 lines
299 B
Nix
Raw Normal View History

2024-02-27 10:11:44 -06:00
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf;
# cfg = config.oizys.languages;
langEnabled = name: builtins.elem name config.oizys.languages;
in {
config = mkIf (langEnabled "tex") {
environment.systemPackages = with pkgs; [
texlive.combined.scheme-full
];
};
}