refactor(overlays): get NUR packages from the nur-ryan4yin overlay

myNurPkgs evaluated a second nixpkgs just for four packages. Apply the
NUR repo's own overlay instead, so they come from the host's pkgs.

Darwin's pkgs now gets nixpkgsConfig too: it set nixpkgs.pkgs, which
ignores nixpkgs.config, so only myNurPkgs carried the npm mirror there.

Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
Ryan Yin authored and ryan4yin | 二花 committed 2026-11-01 11:55:14 -06:00
1 parent 70d8bd6791
commit c8bbeb708d
11 files changed
+18 -40

No files matched your search

-10
View File
@@ -73,16 +73,6 @@ let
cudaCapabilities = [ "8.9" ];
};
};
# NUR packages for this system; modules use `myNurPkgs.dsh` instead of
# repeating `nur-ryan4yin.packages.${pkgs.stdenv.hostPlatform.system}`.
# Instantiate them with the same Nixpkgs policy as the host so npm
# fetchers inside NUR packages also use the mirror.
myNurPkgs = import "${inputs.nur-ryan4yin}" {
pkgs = import inputs.nixpkgs {
inherit system;
config = nixpkgsConfig;
};
};
};
# This is the args for all the haumea modules in this folder.