Flake Parts: Difference between revisions
m Add category flakes |
m add benefit |
||
| Line 1: | Line 1: | ||
[https://github.com/hercules-ci/flake-parts Flake Parts] is a framework that leverages the NixOS [[NixOS modules|module system]] to write modular and organized [[flakes]]. It provides options that represent standard flake attributes and establishes an easy way to work with <code>system</code>. It is a minimal and very lightweight mirror of the flake schema. | [https://github.com/hercules-ci/flake-parts Flake Parts] is a framework that leverages the NixOS [[NixOS modules|module system]] to write modular and organized [[flakes]]. It provides options that represent standard flake attributes and establishes an easy way to work with <code>system</code>. It is a minimal and very lightweight mirror of the flake schema. | ||
The major benefit of flake-parts is being able to write modular flakes with the full power of the module system. It is a great option and alternative to [https://github.com/numtide/flake-utils flake-utils], a wrapper which is largely [https://ayats.org/blog/no-flake-utils discouraged] from being used. | The major benefit of flake-parts is being able to write modular flakes with the full power of the module system, with error handled. It is a great option and alternative to [https://github.com/numtide/flake-utils flake-utils], a wrapper which is largely [https://ayats.org/blog/no-flake-utils discouraged] from being used. | ||
There is documentation available for a variety of flake-parts powered modules available on https://flake.parts. | There is documentation available for a variety of flake-parts powered modules available on https://flake.parts. | ||