Files
nix-config/overlays/README.md
T
Ryan Yin c8bbeb708d 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)
2026-11-01 11:55:14 -06:00

27 lines
756 B
Markdown

# 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](https://nixos-and-flakes.thiscute.world/nixpkgs/overlays).
## 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 the `nur-ryan4yin` input's own overlay, which adds `dsh`,
`rime-data-flypy`, `computer-use-linux` and `cua-driver` to `pkgs`.