mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 10:13:14 -06:00
14 lines
278 B
Nix
14 lines
278 B
Nix
{config, lib,pkgs,...}:
|
|
let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.languages.node;
|
|
in
|
|
{
|
|
options.languages.node.enable = mkEnableOption "node";
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
nodejs
|
|
nodePackages.pnpm
|
|
];
|
|
};
|
|
}
|