No description
- Nix 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| hm-modules | ||
| modules | ||
| pkgs/by-name | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
The Grind Nixpkgs Overlay
Usage
Setting up as an overlay
To use this repository as an overlay in another project, follow these steps:
-
Add the Repository as an Input:
Add the following to your
nixfile to include this repository as an input:inputs = { thegrind-nixpkgs.url = "https://gitgud.boo/thegrind/nixpkgs"; }; -
Include the Overlay in
pkgs:When constructing
pkgs, include the overlay as follows:pkgs = import inputs.nixpkgs { overlays = [ inputs.thegrind-nixpkgs.overlays.default ]; }; -
Use The Packages:
Access the packages in your project like this:
buildInputs = [ pkgs.thegrind.example1 pkgs.thegrind.example2 ];