3 ms·
From the linked “how to enable flakes” article: > As you can see, it uses our ./configuration.nix as a module. What are modules again? Per NixOS wiki: > > Mod
by dundarious 3y ago
From the linked “how to enable flakes” article:
> As you can see, it uses our ./configuration.nix as a module. What are modules again? Per NixOS wiki:
> > Modules are files combined by NixOS to produce the full system configuration. A module contains a Nix expression. It declares options for other modules to define (give a value). It processes them and defines options declared in other modules.
> Simple as.
If only.
Also, the article is very much a How not a Why.
- drakerossman 3y ago>If only. Could you please elaborate?
- dundarious 3y agoI think the quoted documentation is not well written. Modules may be simple, but this description is certainly not. It reads like someone wrote a longer, more complicated but detailed sentence, and then in an effort to improve it, clipped it down in a very “lossy” way into shorter, punchier statements. Nix has volumes of half useful documentation like this.