mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 10:13:14 -06:00
16 lines
291 B
Nix
16 lines
291 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.languages.tex;
|
|
in {
|
|
options.languages.tex.enable = mkEnableOption "tex";
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
texlive.combined.scheme-full
|
|
];
|
|
};
|
|
}
|