add language module for typst

This commit is contained in:
Daylin Morgan 2025-01-06 15:14:23 -06:00
parent f9716a4def
commit 248b6269aa
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 19 additions and 2 deletions

View file

@ -12,7 +12,7 @@
nix-ld = enabled // { nix-ld = enabled // {
overkill = enabled; overkill = enabled;
}; };
languages = "misc|nim|node|nushell|python|tex" |> listify; languages = "misc|nim|node|nushell|python|tex|typst" |> listify;
} }
// ( // (
'' ''

View file

@ -18,7 +18,6 @@
charm-freeze charm-freeze
quarto quarto
typst
calibre calibre
]); ]);

View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
in
{
config = mkIfIn "typst" cfg {
environment.systemPackages = with pkgs; [
typst
tinymist
];
};
}