mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-16 13:00:45 -06:00
16 lines
277 B
Nix
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
|
|
];
|
|
};
|
|
}
|