1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-15 17:50:53 +00:00
flake-parts/site/index.html

64 lines
1.7 KiB
HTML
Raw Normal View History

2022-05-17 22:41:17 +00:00
<html>
<head>
2022-05-25 14:36:33 +00:00
<title>flake-parts</title>
2022-05-17 22:41:17 +00:00
</head>
<body>
2022-05-25 14:36:33 +00:00
<h1><code>flake-parts</code></h1>
2022-05-17 22:41:17 +00:00
<p>
Compose flakes with the (NixOS) module system.
</p>
<p>
Testimonials:
</p>
<blockquote>
yeah.. powerful stuff
</blockquote>
<blockquote>
I cannot tell you how freeing the flake-modules concept is<br/>
fucking hell<br/>
I feel like a hipster using it too
</blockquote>
<p>
Learn more:
</p>
<p>
2022-05-25 14:36:33 +00:00
<a href="https://github.com/hercules-ci/flake-parts">GitHub</a>
2022-05-17 22:41:17 +00:00
</p>
<p>
<a href="./options.html">Options Reference</a>
</p>
2022-05-25 16:26:05 +00:00
<p>
<a href="https://github.com/hercules-ci/flake-parts/blob/main/ChangeLog.md">ChangeLog</a>
</p>
2022-05-29 16:42:42 +00:00
<p>
Integrations:
</p>
<ul>
<li><code>github:hercules-ci/hercules-ci-effects</code></li>
<li><code>github:hercules-ci/pre-commit-hooks.nix/flakeModule</code></li>
</ul>
<h2>Write your own integration</h2>
<p>
For a general introduction to modules, you can read <a href="https://nixos.org/manual/nixos/stable/index.html#sec-writing-modules">Writing Modules</a> in the NixOS manual, though it goes into NixOS specifics quite quickly. Instead of <code>services.&ltname>.*</code>, etc, we have our own <a href="./options.html">options</a>.
</p>
<p>
Writing modules in a distributed ecosystem can be a bit different. If you're inclined to write to some other module's options, consider whether those will be loaded and whether your integration idea is always desirable. If it's not always desirable, consider splitting it off into an extra module, e.g. <code>flakeModules.someOther</code>. Otherwise check if it's loaded: <code>lib.optionalAttrs (options?some.other.option)</code>. You can ask <code>@roberth</code> on GitHub.
</p>
2022-05-17 22:41:17 +00:00
</body>
</html>