Files
nixos-dotfiles/modules/development/typescript.nix
T
2026-07-12 12:59:56 -05:00

27 lines
407 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.workstation.development.typescript;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bun
prettier
eslint
typescript-language-server
# TS tooling (optional but common)
typescript
];
environment.variables = {
NODE_OPTIONS = "--max-old-space-size=4096";
};
};
}