mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
16 lines
241 B
Nix
16 lines
241 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
cfg = config.oizys.languages;
|
|
in {
|
|
config = mkIf (builtins.elem "node" cfg) {
|
|
environment.systemPackages = with pkgs; [
|
|
nodejs
|
|
nodePackages.pnpm
|
|
];
|
|
};
|
|
}
|