Restructure readme

This commit is contained in:
Reinout Meliesie 2025-03-03 13:02:11 +01:00
parent 1ba70cebc4
commit 7c6dd099ef
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -1,14 +1,20 @@
# Nix Packages
## Description
An assortment of Nix packages not in the official collection.
They can either be imported individually or using the overlay if you're on NixOS.
These are purposefully written without support for [overriding](https://nixos.org/guides/nix-pills/17-nixpkgs-overriding-packages) in order to minimise complexity.
If you want to build upon them I encourage you to fork this repository.
---
## Examples
Example for using a specific package:
> **Note:**
> You should replace the commits here with the latest one, or whichever one you want to use.
> The hashes will of course differ.
Using a specific package:
```nix
@ -19,7 +25,7 @@ pkgs . callPackage ( import ( pkgs . fetchurl {
```
Example for using the NixOS overlay:
Using the NixOS overlay:
```nix
@ -31,7 +37,3 @@ imports = [
] ;
```
> **Note:**
> You should replace the commits here with the latest one, or whichever one you want to use.
> The hashes will of course differ.