nixos/npm: update npm package reference

There is no nodePackages.npm anymore, instead it's nodejs in disguise.
This commit is contained in:
Martin Weinelt 2026-03-03 00:59:35 +01:00
commit bcf5e671df
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -16,9 +16,7 @@ in
programs.npm = {
enable = lib.mkEnableOption "{command}`npm` global config";
package = lib.mkPackageOption pkgs [ "nodePackages" "npm" ] {
example = "nodePackages_13_x.npm";
};
package = lib.mkPackageOption pkgs "nodejs" { };
npmrc = lib.mkOption {
type = lib.types.lines;