# How can I learn about flakes?

**URL:** https://discourse.nixos.org/t/how-can-i-learn-about-flakes/79487
**Category:** Help
**Created:** [August 9, 2026, 8:27pm UTC](https://discourse.nixos.org/t/how-can-i-learn-about-flakes/79487 "2026-08-09T20:27:59Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [August 10, 2026, 2:11am UTC](https://discourse.nixos.org/t/how-can-i-learn-about-flakes/79487/4 "2026-08-10T02:11:25Z")

</div>

> [@xokdvium](#):
>
> There isn’t anything hard or inherently different about flakes with nix.

But flakes do not come in isolation, they come with pure eval and bugs and eval-time penalties and etc etc.

> [@xokdvium](#):
>
> There isn’t anything to learn other than discover bugs in the implementation.

Except these bugs get rediscovered by every new user and they get bewildered and come here. It seems handwavey and out-of-touch to put it this way; it reminds me of maths profs/textbooks that say “proof is trivial” and then actually writing it out it ends up being 500 pages long. No matter how you look at it, the bugs _are_ the API.

Anyway @ammaratef45, here’s an explainer for flakes:

> **[Introduction to Flakes | NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/nixos-with-flakes/introduction-to-flakes)**
>
> An unofficial and opinionated book for beginners

And here’s how you can achieve some of the same input pinning goals without flakes (this predates `system.nix`):

> **[Pinning NixOS with npins, or how to kill channels forever without flakes](https://jade.fyi/blog/pinning-nixos-with-npins/)**
>
> computers i guess

With `system.nix`:

> [@Curious about system.nix](https://discourse.nixos.org/t/curious-about-system-nix/77977):
>
> Hello, With 26.05 there is this release note about nixos-rebuild having support for a system.nix file: The system.nix file has been added as an alternative entry point to configuration.nix (and flake.nix) that allows to configure NixOS without using nix-channel As someone that has almost exclusively used Nix with flakes, I am a bit curious about this. Is this mainly intended for use with pinning frameworks such as niv and nixtamal? What are the pros and cons compared with flakes?

One of flakes’ 57 goals is to provide a unified API for consumers of projects, hence you would see a `flake.nix` in a project repo and the attributes returned by the `outputs` function explain what the flake provides. Alternatively you can use `nix flake show <flake-url>` to see a summary of said flake outputs.

These outputs are then used by the so-called “nix 3” interface which is basically everything under section 8.5 of the nix manual: [Experimental Commands - Nix 2.35.2 Reference Manual](https://nix.dev/manual/nix/2.35/command-ref/experimental-commands.html)  
Different commands will need/expect different outputs, they are documented in a pretty scattershot way in the manual but it is ultimately all there.

[Flakes - Official NixOS Wiki](https://wiki.nixos.org/wiki/Flakes#Flake_schema) has a bit of info but it’s not 100% comprehensive nor does it provide the full context. Still it may be helpful as a summary of the various supported outputs.

---

_[View the full topic](https://discourse.nixos.org/t/how-can-i-learn-about-flakes/79487)._
