Docs: mention clan.nix file, which is present in the default template now

This commit is contained in:
Johannes Kirschbauer
2025-07-08 13:31:03 +02:00
parent f8748d021b
commit 62cadb8fbe
7 changed files with 12 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ clanModules/borgbackup
```nix title="flake.nix"
# ...
# Sometimes this attribute set is defined in clan.nix
clan-core.lib.clan {
# 1. Add the module to the available clanModules with inventory support
inventory.modules = {
@@ -175,6 +176,7 @@ The following shows how to add options to your module.
Configuration can be set as follows.
```nix title="flake.nix"
# Sometimes this attribute set is defined in clan.nix
clan-core.lib.clan {
inventory.services = {
custom-module.instance_1 = {