Restructure readme
This commit is contained in:
parent
1ba70cebc4
commit
7c6dd099ef
1 changed files with 9 additions and 7 deletions
16
readme.md
16
readme.md
|
@ -1,14 +1,20 @@
|
||||||
# Nix Packages
|
# Nix Packages
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
An assortment of Nix packages not in the official collection.
|
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.
|
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.
|
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.
|
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
|
```nix
|
||||||
|
|
||||||
|
@ -19,7 +25,7 @@ pkgs . callPackage ( import ( pkgs . fetchurl {
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Example for using the NixOS overlay:
|
Using the NixOS overlay:
|
||||||
|
|
||||||
```nix
|
```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.
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue