mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 07:07:32 -06:00
add language module for typst
This commit is contained in:
parent
f9716a4def
commit
248b6269aa
3 changed files with 19 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
nix-ld = enabled // {
|
||||
overkill = enabled;
|
||||
};
|
||||
languages = "misc|nim|node|nushell|python|tex" |> listify;
|
||||
languages = "misc|nim|node|nushell|python|tex|typst" |> listify;
|
||||
}
|
||||
// (
|
||||
''
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
charm-freeze
|
||||
|
||||
quarto
|
||||
typst
|
||||
|
||||
calibre
|
||||
]);
|
||||
|
|
18
modules/languages/typst.nix
Normal file
18
modules/languages/typst.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue