From f45a71bca6dce21bcca65af7674246a83860b2fe Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 29 May 2022 18:42:42 +0200 Subject: [PATCH] Write a bit about integrations --- site/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/site/index.html b/site/index.html index 32dd855..271133f 100644 --- a/site/index.html +++ b/site/index.html @@ -41,6 +41,24 @@ ChangeLog

+

+ Integrations: +

+ + +

Write your own integration

+ +

+ For a general introduction to modules, you can read Writing Modules in the NixOS manual, though it goes into NixOS specifics quite quickly. Instead of services.<name>.*, etc, we have our own options. +

+ +

+ 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. flakeModules.someOther. Otherwise check if it's loaded: lib.optionalAttrs (options?some.other.option). You can ask @roberth on GitHub. +

+ \ No newline at end of file