oizys/modules/languages/node.nix

17 lines
241 B
Nix
Raw Normal View History

2024-01-23 19:13:42 -06:00
{
config,
lib,
pkgs,
...
}: let
2024-02-27 10:11:44 -06:00
inherit (lib) mkIf;
cfg = config.oizys.languages;
2024-01-23 19:13:42 -06:00
in {
2024-02-27 10:11:44 -06:00
config = mkIf (builtins.elem "node" cfg) {
2024-01-23 19:13:42 -06:00
environment.systemPackages = with pkgs; [
nodejs
nodePackages.pnpm
];
};
2024-01-23 11:51:13 -06:00
}