mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
18 lines
229 B
Nix
18 lines
229 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIfIn;
|
|
cfg = config.oizys.languages;
|
|
in
|
|
{
|
|
config = mkIfIn "node" cfg {
|
|
environment.systemPackages = with pkgs; [
|
|
nodejs
|
|
nodePackages.pnpm
|
|
];
|
|
};
|
|
}
|