docs(service-modules): add description and docs for options

This commit is contained in:
Johannes Kirschbauer
2025-06-04 12:33:46 +02:00
parent 8a9843e7ca
commit 0180013e68
6 changed files with 319 additions and 96 deletions

View File

@@ -43,6 +43,16 @@ in
}
);
legacyPackages.clan-service-module-interface =
(pkgs.nixosOptionsDoc {
options =
(self.clanLib.inventory.evalClanService {
modules = [ ];
prefix = [ ];
}).options;
warningsAreErrors = true;
}).optionsJSON;
# Run: nix-unit --extra-experimental-features flakes --flake .#legacyPackages.x86_64-linux.evalTests
legacyPackages.evalTests-inventory = import ./tests {
inherit lib;