mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
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)
756 B
756 B
Overlays
Overlays for both NixOS and Nix-Darwin.
If you don't know much about overlays, it is recommended to learn the function and usage of overlays through Overlays - NixOS & Flakes Book.
Current Structure
overlays/
├── README.md
├── default.nix # Entrypoint for all overlays
└── nur-ryan4yin.nix # ryan4yin/nur-packages
Components
1. default.nix
The entrypoint imports every overlay file in this directory and applies it to the given arguments.
2. Package overlays
nur-ryan4yin.nix: applies thenur-ryan4yininput's own overlay, which addsdsh,rime-data-flypy,computer-use-linuxandcua-drivertopkgs.