flake cleanup

This commit is contained in:
Robin Appelman 2024-11-24 20:44:30 +01:00
commit b9b74904ca
7 changed files with 6 additions and 214 deletions

12
nix/node_modules.nix Normal file
View file

@ -0,0 +1,12 @@
{ npmlock2nix
, nodejs_20
, lib
,
}:
let
inherit (lib.sources) sourceByRegex;
in
npmlock2nix.v2.node_modules {
src = sourceByRegex ../. [ "package.*" ];
nodejs = nodejs_20;
}