doc: readme updates to talk about Nix
diff --git a/README.md b/README.md
index 13a92c13..052285d9 100644
--- a/README.md
+++ b/README.md
@@ -82,23 +82,20 @@ Host utility binaries are provided for Windows.
*The following steps are not necessary if cloning a binary release. If so, skip to*
*"Installing Limine binaries".*
-### Prerequisites
-
### Building with Nix
This repository provides [Nix](https://nixos.org/)-based tooling for a convenient
development environment and building Limine using Nix.
-To use the regular build flow using a toolchain obtained by Nix, simply
-run `$ nix develop` to open a Nix shell. To build Limine completely in Nix
-using the latest sources, you can run:
-
- `$ nix build .#\limine` (build with clang and `--enable-all`)
-Limine is not yet in `nixpkgs`.
+To use the regular build flow using a toolchain obtained by Nix, simply
+run `$ nix develop` to open a Nix shell. Then follow the guide below.
### Regular build
+#### Prerequisites
+
In order to build Limine, the following programs have to be installed:
common UNIX tools (also known as `coreutils`),
`GNU make`, `grep`, `sed`, `find`, `awk`, `gzip`, `nasm`, `mtools`
@@ -147,6 +144,19 @@ make install # (or gmake where applicable)
## How to use
+### Consume via Nix
+
+Limine is not yet in `nixpkgs`.
+
+You can consume this as Nix flake:
+
+```nix
+{
+ inputs.limine.url = "github:limine-bootloader/limine/<branch>";
+ inputs.limine.inputs.nixpkgs.follows = "nixpkgs";
+}
+```
+
### UEFI
The `BOOT*.EFI` files are valid EFI applications that can be simply copied to
the `/EFI/BOOT` directory of a FAT formatted EFI system partition. These files can
