feat: rework to modular
This commit is contained in:
10
modules/dev/node.nix
Normal file
10
modules/dev/node.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
nodejs = lib.attrByPath [ "nodejs_20" ] pkgs.nodejs pkgs;
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
nodejs
|
||||
pkgs.pnpm
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user