Packages build!

This commit is contained in:
2024-09-07 00:24:08 +03:00
parent 4d29cc73b2
commit f8a16189f0
30 changed files with 1584 additions and 446 deletions
@@ -0,0 +1,40 @@
{ lib, config, pkgs, azos-utils, ... }:
let
isEnabled =
config.azos.tex.enable && config.azos.suites.editor.enable;
in
{
options.azos.tex.enable = (azos-utils.mkFeatureEnableOption {});
options.azos.tex.pkgs = lib.mkOption{
default = [];
description = "List of packages for tex.";
};
config = lib.mkIf isEnabled {
azos.tex.pkgs = with pkgs.texlive; [
combined.scheme-basic
dvisvgm
dvipng
wrapfig
amsmath
ulem
hyperref
capt-of
polyglossia
xcolor
amsmath
amsfonts
braket
hebrew-fonts
];
home.packages = with pkgs; [(texlive.combine azos.tex.pkgs)];
};
imports = [
];
}