mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
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
├── computer-use-linux.nix # computer-use-linux from ryan4yin/nur-packages
├── cua-driver.nix # cua-driver from ryan4yin/nur-packages
└── smartctl-exporter/ # smartctl_exporter pinned to the #329 fix
└── default.nix
Components
1. default.nix
The entrypoint imports every overlay file in this directory and applies it to the given arguments.
2. Package overlays
computer-use-linux.nix: exposescomputer-use-linuxfrom thenur-ryan4yinflake input.cua-driver.nix: exposescua-driverfrom thenur-ryan4yinflake input (used by the computer-use VMs).smartctl-exporter/: pinsprometheus-smartctl-exporterto the upstream commit carrying PR #329 until nixpkgs provides a version containing the fix; seeoverlays/smartctl-exporter/default.nix.